diff options
| author | Colin Ian King <[email protected]> | 2017-05-09 16:45:04 +0100 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2017-06-20 10:30:08 +0200 |
| commit | 675a7da857146338d047d1a63247bb48e7d5fed5 (patch) | |
| tree | 0ff138fece55a73b23d9c5195cee2d72608c9056 /tools/perf/scripts/python | |
| parent | 940e698c902537dac147752d787ff95aad4b6dc5 (diff) | |
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 <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions