mtd: nand: refactor scanning code
authorBrian Norris <computersforpeace@gmail.com>
Wed, 7 Sep 2011 20:13:28 +0000 (13:13 -0700)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 13:48:47 +0000 (16:48 +0300)
commit105513cc4a25522f959788371bd612f987d4d184
treeb106fc56e195d5c883f11c329cf7ffb59e1d83eb
parent3e2b82b9073e8bf0b4f359fa3045e81d9fe87f7d
mtd: nand: refactor scanning code

A few pieces of code are unnecessarily duplicated. For easier
maintenance, we should fix this.

This should have no functional effect.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
drivers/mtd/nand/nand_bbt.c