diff options
author | 2022-10-20 13:42:38 +0200 | |
---|---|---|
committer | 2022-10-20 16:13:33 +0200 | |
commit | daf405c8b9b93388295dec07391798039d0f5c26 (patch) | |
tree | a1a7ca72638734a927e1870959718d5f52066699 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | HID: mcp2221: add ADC/DAC support via iio subsystem (diff) | |
download | wireguard-linux-daf405c8b9b93388295dec07391798039d0f5c26.tar.xz wireguard-linux-daf405c8b9b93388295dec07391798039d0f5c26.zip |
HID: mcp2221: fix usage of tmp variable in mcp2221_raw_event()
In mcp2221_raw_event(), 'tmp' is used only conditionally. Move
the declaration into the conditional block in order to prevent
unused variable warning.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 960f9df7c620 ("HID: mcp2221: add ADC/DAC support via iio subsystem")
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions