aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/cafe_ecc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/cafe_ecc.c b/drivers/mtd/nand/cafe_ecc.c
index c4bec37e73eb..46214602d205 100644
--- a/drivers/mtd/nand/cafe_ecc.c
+++ b/drivers/mtd/nand/cafe_ecc.c
@@ -1045,7 +1045,6 @@ static unsigned short err_pos_lut[4096] = {
1045static unsigned short err_pos(unsigned short din) 1045static unsigned short err_pos(unsigned short din)
1046{ 1046{
1047 BUG_ON(din > 4096); 1047 BUG_ON(din > 4096);
1048 BUG_ON(err_pos_lut[din] == 0xfff);
1049 return err_pos_lut[din]; 1048 return err_pos_lut[din];
1050} 1049}
1051static int chk_no_err_only(unsigned short *chk_syndrome_list, unsigned short *err_info) 1050static int chk_no_err_only(unsigned short *chk_syndrome_list, unsigned short *err_info)