Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7fa2c703 authored by Colin Ian King's avatar Colin Ian King Committed by Cyrille Pitchen
Browse files

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: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarRichard Weinberger <richard@nod.at>
Acked-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Signed-off-by: default avatarCyrille Pitchen <cyrille.pitchen@atmel.com>
parent 35fd7661
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment