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>
This commit is contained in:
Aaron Durbin 2016-07-01 10:06:29 -05:00
parent fc04f9b5ee
commit 8f9c866caf
2 changed files with 0 additions and 6 deletions

View File

@ -21,7 +21,6 @@
#include <types.h> #include <types.h>
/* Defined in src/lib/lzma.c. Returns decompressed size or 0 on error. */ /* 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); size_t ulzman(const void *src, size_t srcn, void *dst, size_t dstn);
/* Defined in src/lib/ramtest.c */ /* Defined in src/lib/ramtest.c */

View File

@ -55,8 +55,3 @@ size_t ulzman(const void *src, size_t srcn, void *dst, size_t dstn)
} }
return outProcessed; return outProcessed;
} }
size_t ulzma(const void *src, void *dst)
{
return ulzman(src, ~(size_t)0, dst, ~(size_t)0);
}