diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2016-03-07 10:46:53 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-03-07 16:23:09 -0800 |
commit | f2de0fa64306651bc5aa04f6bb56c057658486d5 (patch) | |
tree | ae866f94af372f3a00cc799caed7d5606a1d3330 /Makefile | |
parent | 29f1058a90b319b01c4cf469720e0350212d5c9c (diff) | |
download | blackbird-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