diff options
author | Gaston Gonzalez <gascoar@gmail.com> | 2025-02-14 16:54:44 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-19 16:51:34 +0100 |
commit | a990ae96e6ef3e431a99b686fc174cd429d27288 (patch) | |
tree | e7c16eccf7b94d957ae97fafe1a86f7ffdb805d7 /tools/perf/scripts/python/task-analyzer.py | |
parent | c725363401e228986848c67579153dc259eccb4b (diff) |
staging: gpib: ni_usb: remove unused variable
Remove unused variable 'adr1_bits' in function 'parse_board_ibrd_readback'
Since the value of the variable 'i' is increased when 'adr1_bits' is set, the
'i++' post-increment was added in order to keep the value of 'i' right.
This change removes the following warning:
warning: variable ‘adr1_bits’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Gaston Gonzalez <gascoar@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20250214195456.104075-7-gascoar@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions