commit | 2afedfe33419a47cc04f0eb46d32b4a0f1717e88 | [log] [tgz] |
---|---|---|
author | Mario Six <mario.six@gdsys.cc> | Mon Apr 29 01:58:45 2019 +0530 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Mon Jun 10 17:59:48 2019 +0530 |
tree | 0ee065172cf1b28fed813041c2b0df45365d25ad | |
parent | 4b671e18fc75e09e5eec2606e7820e8c8413e2ab [diff] |
spi: mpc8xxx: Simplify logic a bit We do nothing in the loop if the "not empty" event was not detected. To simplify the logic, check if this is the case, and skip the execution of the loop early to reduce the nesting level and flag checking. Signed-off-by: Mario Six <mario.six@gdsys.cc> Acked-by: Jagan Teki <jagan@amarulasolutions.com>