diff options
| author | Mario Six <[email protected]> | 2019-04-29 01:58:45 +0530 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2019-06-10 17:59:48 +0530 |
| commit | e4da4c2e0e3f4686c104e45a1967587423f04e04 (patch) | |
| tree | 0ee065172cf1b28fed813041c2b0df45365d25ad /scripts/basic | |
| parent | 6409c6103a869271a0a2c109f5262c94a0609add (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 <[email protected]>
Acked-by: Jagan Teki <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
