f1acb878b6
When we reach the loop, len is at least 1, we only stay in the loop when len is at least MAX_BYTE_COUNT + 1, MAX_BYTE_COUNT is subtracted in each iteration. So when we leave the loop, or didn't take it, len is at least 1. Testing whether len is non-zero appears redundant. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> |
||
---|---|---|
.. | ||
arm_timer.h | ||
cache-l2x0.h | ||
cache-tauros2.h | ||
clps7111.h | ||
coresight.h | ||
cs89712.h | ||
debug-8250.S | ||
debug-pl01x.S | ||
dec21285.h | ||
entry-macro-iomd.S | ||
ep7211.h | ||
ep7212.h | ||
gic.h | ||
icst307.h | ||
icst525.h | ||
ioc.h | ||
iomd.h | ||
iop3xx-adma.h | ||
iop3xx-gpio.h | ||
iop3xx.h | ||
iop_adma.h | ||
it8152.h | ||
linkup-l1110.h | ||
locomo.h | ||
memc.h | ||
pci_v3.h | ||
pl080.h | ||
sa1111.h | ||
scoop.h | ||
ssp.h | ||
uengine.h | ||
vic.h |