diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-07-01 10:06:29 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-07-01 23:55:16 +0200 |
commit | 8f9c866caf6e617eda26ef3caeff6a4b5bb91e9b (patch) | |
tree | 975489daa8a94de37aa87aed80818c5414541b11 /src | |
parent | fc04f9b5ee911bb622d5acbad5056b77af4e4ec7 (diff) | |
download | coreboot-8f9c866caf6e617eda26ef3caeff6a4b5bb91e9b.tar.xz |
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 <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/15526
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/lib.h | 1 | ||||
-rw-r--r-- | src/lib/lzma.c | 5 |
2 files changed, 0 insertions, 6 deletions
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 <types.h> /* 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); -} |