Colin Ian King 675a7da857 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: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2017-06-20 10:30:08 +02:00
..
2016-07-18 11:50:40 +02:00
2017-04-24 21:41:18 +02:00
2014-09-24 10:13:09 +02:00
2015-06-01 09:06:48 +02:00
2017-03-16 15:31:27 +01:00