diff options
author | Jiri Kosina <jkosina@suse.cz> | 2022-10-20 14:42:38 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-10-20 17:13:33 +0300 |
commit | daf405c8b9b93388295dec07391798039d0f5c26 (patch) | |
tree | a1a7ca72638734a927e1870959718d5f52066699 /tools/perf/scripts/python/stackcollapse.py | |
parent | 960f9df7c620ecb6030aff1d9a6c3d67598b8290 (diff) | |
download | linux-daf405c8b9b93388295dec07391798039d0f5c26.tar.xz |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions