commit | 7fa2c7038cc0ec16ae5d8eee347ea136de0f4b65 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Tue Jan 31 15:53:17 2017 +0000 |
committer | Cyrille Pitchen <cyrille.pitchen@atmel.com> | Fri Feb 10 14:22:00 2017 +0100 |
tree | 50401214cbafd13dcb70099b548b701288f3a1b5 | |
parent | 35fd766117de41ed475948410c3ec5ab07cd3d03 [diff] |
mtd: spi-nor: cqspi: remove redundant dead code on error return check Checking for ret < 0 is redundant because a previous check on ret being non-zero already handles the ret < 0 case. Remove the redundant code. Found by CoverityScan, CID#1398863, CID#1398864 Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Richard Weinberger <richard@nod.at> Acked-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>