summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2016-03-07 10:46:53 +0100
committerBrian Norris <computersforpeace@gmail.com>2016-03-07 16:23:09 -0800
commitf2de0fa64306651bc5aa04f6bb56c057658486d5 (patch)
treeae866f94af372f3a00cc799caed7d5606a1d3330 /Makefile
parent29f1058a90b319b01c4cf469720e0350212d5c9c (diff)
downloadblackbird-op-linux-f2de0fa64306651bc5aa04f6bb56c057658486d5.tar.gz
blackbird-op-linux-f2de0fa64306651bc5aa04f6bb56c057658486d5.zip
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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud