From 8f9c866caf6e617eda26ef3caeff6a4b5bb91e9b Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 1 Jul 2016 10:06:29 -0500 Subject: lib: remove ulzma() That function is no longer used. All users have been updated to use the ulzman() function which specifies lengths for the input and output buffers. Change-Id: Ie630172be914a88ace010ec3ff4ff97da414cb5e Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/15526 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Julius Werner --- src/include/lib.h | 1 - src/lib/lzma.c | 5 ----- 2 files changed, 6 deletions(-) (limited to 'src') diff --git a/src/include/lib.h b/src/include/lib.h index 5bcd07df80..3edc37245e 100644 --- a/src/include/lib.h +++ b/src/include/lib.h @@ -21,7 +21,6 @@ #include /* Defined in src/lib/lzma.c. Returns decompressed size or 0 on error. */ -size_t ulzma(const void *src, void *dst); size_t ulzman(const void *src, size_t srcn, void *dst, size_t dstn); /* Defined in src/lib/ramtest.c */ diff --git a/src/lib/lzma.c b/src/lib/lzma.c index d0b4c355b1..3efcbc0eaf 100644 --- a/src/lib/lzma.c +++ b/src/lib/lzma.c @@ -55,8 +55,3 @@ size_t ulzman(const void *src, size_t srcn, void *dst, size_t dstn) } return outProcessed; } - -size_t ulzma(const void *src, void *dst) -{ - return ulzman(src, ~(size_t)0, dst, ~(size_t)0); -} -- cgit v1.2.3