]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: pagetest: remove always true condition
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 15 Aug 2013 13:55:06 +0000 (22:55 +0900)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 16 Aug 2013 13:41:24 +0000 (16:41 +0300)
commit6aef1fee6e857e88e97fee4f4e1470fb8c23d9f9
tree904b6ab0aa871d487dc2c55a2aa5030b8d08bcd9
parent8bb3c7d378238acc889245e02916134dbb4ebb7d
mtd: pagetest: remove always true condition

Remove useless checks just after checking 'err' is not zero.  These
checks should have been removed when converting to use mtdtest_read().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/tests/pagetest.c