diff options
author | 2016-03-07 10:46:53 +0100 | |
---|---|---|
committer | 2016-03-07 16:23:09 -0800 | |
commit | f2de0fa64306651bc5aa04f6bb56c057658486d5 (patch) | |
tree | ae866f94af372f3a00cc799caed7d5606a1d3330 /tools/perf/scripts/python/stackcollapse.py | |
parent | mtd: create an mtd_oobavail() helper and make use of it (diff) | |
download | wireguard-linux-f2de0fa64306651bc5aa04f6bb56c057658486d5.tar.xz wireguard-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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions