Boris BREZILLON f2de0fa643 mtd: mtdswap: remove useless if (!mtd->ecclayout) test
If the MTD device does not have OOB, the mtd->oobsize and mtd->oobavail
fields are set to zero, and we are testing those values in the following
test.
Remove the useless if (!mtd->ecclayout) test.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2016-03-07 16:23:09 -08:00
..
2016-01-13 11:25:54 -08:00
2016-01-22 18:04:28 -05:00
2014-04-14 11:23:01 -07:00
2015-02-18 08:01:44 -08:00
2014-03-10 22:42:25 -07:00
2015-11-16 15:07:16 -08:00