summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-11-03 21:09:41 +0300
committerKalle Valo <kvalo@codeaurora.org>2020-11-10 21:55:06 +0300
commitabd131a19f6b862dac3eacba153e472ffc96b8f7 (patch)
tree9a30e1ac8aa26cab0576dfc64bd68d6fa645297b /tools/perf/scripts/python/sched-migration.py
parent287431463e786766e05e4dc26d0a11d5f8ac8815 (diff)
downloadlinux-abd131a19f6b862dac3eacba153e472ffc96b8f7.tar.xz
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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions