summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDave Penkler <dpenkler@gmail.com>2025-04-18 20:34:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-25 17:08:26 +0300
commit125cda86d1970572cf3d0086ad34cbae1f0c6afb (patch)
tree77d1a41f712ea0735896f648fe47a2c334f1fe86 /tools/perf/scripts/python/stackcollapse.py
parent427ab512c2c8784686738ade287e5eb52bd8292a (diff)
downloadlinux-125cda86d1970572cf3d0086ad34cbae1f0c6afb.tar.xz
staging: gpib: Cleanup allocate_gpios code
The function was using unnecessary variables error and retval. Simplify the code by testing for failure first and remove the redundant variables. Tested-by: Dave Penkler <dpenkler@gmail.com> Signed-off-by: Dave Penkler <dpenkler@gmail.com> Link: https://lore.kernel.org/r/20250418173434.2892-8-dpenkler@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions