mtd: Remove the duplicate code that checks for bad blocks.

The functionality in the block that is removed is already
handled by the function part_fill_badblockstats which is
called right before this block. This should not have been
there in the first place. With the introduction of the
lazy ecc stats functionality this part of the code should
go away.

Change-Id: I925c24602613de4be76c6c3d5d46f7e549ccf5de
Signed-off-by: Murali Palnati <palnatim@codeaurora.org>
1 file changed