HomeFreeBSD

rk_i2c_drain_rx: remove useless arithmetic manipulations

Description

rk_i2c_drain_rx: remove useless arithmetic manipulations

When i % 4 == 0 the result of (i / 4) * 4 is always i.

(cherry picked from commit ede576831b818c78d23a9600932e13e47b8fd745)

Details

Provenance
avgAuthored on Dec 15 2021, 8:42 AM
Parents
rG55fb9062b73a: rk_i2c: consistently treat booleans as such
Branches
Unknown
Tags
Unknown