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

Skip to content
Commit 675a7da8 authored by Colin Ian King's avatar Colin Ian King Committed by Ulf Hansson
Browse files

mmc: sdricoh_cs: remove redundant check if len is non-zero



At the end of either of the read or write loops len is always zero
and hence the non-zero check on len and return of -EIO is redundant
and can be removed.

Detected by CoverityScan, CID#114293 ("Logically dead code")

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 940e698c
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