]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: nand: nandsim: remove unneeded checks for nand_scan_ident/tail()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 4 Nov 2016 10:43:09 +0000 (19:43 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 7 Nov 2016 13:48:52 +0000 (14:48 +0100)
commitc75183020fca0229fce1fd6ba21ae840b41d79e9
tree076f2e157a90ec019ee077f8b18d38683a02ec02
parent133fe8fa614175eb7e59599dbfe357c7bc7da851
mtd: nand: nandsim: remove unneeded checks for nand_scan_ident/tail()

The nand_scan_ident/tail() never returns a positive value when it
fails.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/nandsim.c