mtd: remove some duplicative checks
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 13 Feb 2014 11:21:44 +0000 (14:21 +0300)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 11 Mar 2014 05:42:25 +0000 (22:42 -0700)
commitda22b89386e8d4dc89525801dfe60f5f8c29668d
tree534b9359d62dac3f987933391203dd9c761deae0
parent74414a945ac992c71766bbf76718c7fddbcbd016
mtd: remove some duplicative checks

"rc" is an error code here, no need to check it a second time.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/rfd_ftl.c