summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mtd
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-01-31 16:53:17 +0100
committerCyrille Pitchen <cyrille.pitchen@atmel.com>2017-02-10 14:22:00 +0100
commit7fa2c7038cc0ec16ae5d8eee347ea136de0f4b65 (patch)
tree50401214cbafd13dcb70099b548b701288f3a1b5 /Documentation/devicetree/bindings/mtd
parentDocumentation: mtk-quadspi: update DT bindings (diff)
downloadlinux-7fa2c7038cc0ec16ae5d8eee347ea136de0f4b65.tar.xz
linux-7fa2c7038cc0ec16ae5d8eee347ea136de0f4b65.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/mtd')
0 files changed, 0 insertions, 0 deletions