mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
d843304b22
The body of the for loop is only ever run once as the second standard_report element is never changed from its initial zero init, so the loop condition is never satisfies after the first run. Equally the start member of the first element is never changed from 0, so the index offset is always a constant 0. Remove this needless obfuscation of the code and write it in a straight forward manner. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Link: https://lore.kernel.org/r/20191104114454.10500-3-l.stach@pengutronix.de Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rmi_2d_sensor.c | ||
rmi_2d_sensor.h | ||
rmi_bus.c | ||
rmi_bus.h | ||
rmi_driver.c | ||
rmi_driver.h | ||
rmi_f01.c | ||
rmi_f03.c | ||
rmi_f11.c | ||
rmi_f12.c | ||
rmi_f30.c | ||
rmi_f34.c | ||
rmi_f34.h | ||
rmi_f34v7.c | ||
rmi_f54.c | ||
rmi_f55.c | ||
rmi_i2c.c | ||
rmi_smbus.c | ||
rmi_spi.c |