summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-03-10 14:00:59 +0300
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-04-26 22:29:17 +0300
commit7db42aa2b629de0a103f603f41c5b0929c66ccda (patch)
treebb3666650dfd2715a0ae413fa34e9e7f366af709 /tools/perf/scripts/python/syscall-counts.py
parentc0143f68919e6e36a4fa8816ddb49d266f3b21de (diff)
downloadlinux-7db42aa2b629de0a103f603f41c5b0929c66ccda.tar.xz
pwm: sti: Prefer local variable over pointer dereference
While the compiler probably optimizes out the pointer dereference, using the local variable holding the same value also benefits the human reader. So simplify accordingly. Also move a loop over all capture lines into the capture if block to group the operations related to capturing in .probe(). Link: https://lore.kernel.org/r/a7a81f3838f7ed7f4d6dbee3d646989cc265f676.1710068192.git.u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions