]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/jffs2/compr_lzari.c
JFFS2: Eliminate compiler error when both NAND and OneNAND are enabled.
[karo-tx-uboot.git] / fs / jffs2 / compr_lzari.c
index a94f9ff6578f0b22446bf38022dd7fb688854b7f..6a296085620a6a86b57fb58e41f53d45689bdc20 100644 (file)
@@ -50,8 +50,6 @@ All rights reserved. Permission granted for non-commercial use.
 
 
 #include <config.h>
-#if ((CONFIG_COMMANDS & CFG_CMD_JFFS2)  || defined(CONFIG_CMD_JFFS2)) && defined(CONFIG_JFFS2_LZO_LZARI)
-
 #include <linux/stddef.h>
 #include <jffs2/jffs2.h>
 
@@ -259,4 +257,3 @@ int lzari_decompress(unsigned char *data_in, unsigned char *cpage_out,
 {
     return Decode(data_in, cpage_out, srclen, destlen);
 }
-#endif /* ((CONFIG_COMMANDS & CFG_CMD_JFFS2) && defined(CONFIG_JFFS2_LZO_LZARI)) */