diff options
| author | Marek Vasut <marex@denx.de> | 2020-11-03 19:09:41 +0100 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2020-11-10 20:55:06 +0200 |
| commit | abd131a19f6b862dac3eacba153e472ffc96b8f7 (patch) | |
| tree | 9a30e1ac8aa26cab0576dfc64bd68d6fa645297b /tools/perf/scripts/python/bin | |
| parent | rsi: Move card interrupt handling to RX thread (diff) | |
| download | linux-abd131a19f6b862dac3eacba153e472ffc96b8f7.tar.gz linux-abd131a19f6b862dac3eacba153e472ffc96b8f7.zip | |
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 <marex@denx.de>
Cc: Angus Ainslie <angus@akkea.ca>
Cc: David S. Miller <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Martin Kepplinger <martink@posteo.de>
Cc: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Cc: Siva Rebbagondla <siva8118@gmail.com>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201103180941.443528-2-marex@denx.de
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
