diff options
author | 2025-04-18 19:34:33 +0200 | |
---|---|---|
committer | 2025-04-25 16:08:26 +0200 | |
commit | 125cda86d1970572cf3d0086ad34cbae1f0c6afb (patch) | |
tree | 77d1a41f712ea0735896f648fe47a2c334f1fe86 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: gpib: Change error code for no listener (diff) | |
download | wireguard-linux-125cda86d1970572cf3d0086ad34cbae1f0c6afb.tar.xz wireguard-linux-125cda86d1970572cf3d0086ad34cbae1f0c6afb.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions