diff options
| author | Marek Vasut <[email protected]> | 2020-11-03 19:09:41 +0100 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2020-11-10 20:55:06 +0200 |
| commit | abd131a19f6b862dac3eacba153e472ffc96b8f7 (patch) | |
| tree | 9a30e1ac8aa26cab0576dfc64bd68d6fa645297b /tools/perf/scripts/python/bin | |
| parent | 287431463e786766e05e4dc26d0a11d5f8ac8815 (diff) | |
rsi: Clean up loop in the interrupt handler
The inner do { ... } while loop is completely useless, all it does
is iterate over a switch-case statement, one bit at a time. This
can easily be replaced by simple if (status & bit) { ... } tests
for each bit. No functional change.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Angus Ainslie <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Kalle Valo <[email protected]>
Cc: Lee Jones <[email protected]>
Cc: Martin Kepplinger <[email protected]>
Cc: Sebastian Krzyszkowiak <[email protected]>
Cc: Siva Rebbagondla <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions