summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2018-06-18 12:36:16 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-28 15:50:58 +0300
commit888295597e07e266dd6fa9d1029af015dc40c67b (patch)
treeaac490be927522c287e08a2dddb157b15af39f68 /tools/perf/scripts/python
parente4550f6e9a134ab5e32a7b0c0baeab5586b37692 (diff)
downloadlinux-888295597e07e266dd6fa9d1029af015dc40c67b.tar.xz
staging: mt7621-gpio: avoid one level indentation in interrupt handler
There is no need to check for 'pending' before loop over the interrupts using 'for_each_set_bit' if nothing is set the return values will be the same so just avoid this check avoiding also one level intentation and improving readability. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions