summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorDave Penkler <dpenkler@gmail.com>2025-04-18 19:34:33 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-25 16:08:26 +0200
commit125cda86d1970572cf3d0086ad34cbae1f0c6afb (patch)
tree77d1a41f712ea0735896f648fe47a2c334f1fe86 /scripts/lib/kdoc/kdoc_parser.py
parent427ab512c2c8784686738ade287e5eb52bd8292a (diff)
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 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions