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
..
2015-12-29 15:32:24 -05:00
2016-01-22 18:04:28 -05:00
2016-01-20 18:42:30 -08:00
2016-01-20 18:16:29 -08:00
2016-01-20 17:55:20 -08:00
2016-01-15 13:18:47 -08:00
2016-01-20 10:15:21 -08:00
2016-01-01 18:31:34 +01:00
2016-01-20 17:30:20 -08:00
2016-01-13 10:23:36 -08:00
2016-01-19 09:35:06 -08:00
2016-01-12 12:17:28 +01:00
2016-01-22 12:04:21 -08:00
2016-01-14 11:13:28 -08:00
2016-01-22 18:04:28 -05:00
2016-01-20 17:09:18 -08:00
2016-01-03 16:32:59 -08:00
2015-12-26 17:01:18 -08:00
2016-01-12 01:12:40 +01:00
2016-01-20 17:09:18 -08:00
2016-01-15 12:14:47 -08:00
2016-01-18 12:10:45 -08:00
2016-01-18 16:44:24 -08:00
2016-01-15 13:18:47 -08:00
2016-01-20 18:42:30 -08:00
2016-01-22 18:04:28 -05:00
2016-01-18 16:44:24 -08:00