diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-28 10:48:16 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-28 11:23:01 +0100 |
commit | 15d559e191934c6afe96b7f76dd1d04b4efc15f7 (patch) | |
tree | a5a3e7af8e8b7db52f96b130f1f546d1ad582ec3 /fs | |
parent | 81ba01fee6538847195b3ebf4d623429fc9eabfd (diff) | |
download | barebox-15d559e191934c6afe96b7f76dd1d04b4efc15f7.tar.gz barebox-15d559e191934c6afe96b7f76dd1d04b4efc15f7.tar.xz |
fs: ubifs: Fix unused function warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ubifs/ubifs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c index e2f9593f20..44a9e97e36 100644 --- a/fs/ubifs/ubifs.c +++ b/fs/ubifs/ubifs.c @@ -49,11 +49,13 @@ struct z_stream_s ubifs_zlib_stream; /* compress.c */ +#ifdef CONFIG_ZLIB static int ubifs_deflate_decompress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) { return deflate_decompress(&ubifs_zlib_stream, src, slen, dst, dlen); } +#endif /* All UBIFS compressors */ struct ubifs_compressor ubifs_compressors[UBIFS_COMPR_TYPES_CNT] = { |