Skip to content
Commit daf405c8 authored by Jiri Kosina's avatar Jiri Kosina
Browse files

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: default avatarkernel test robot <lkp@intel.com>
Fixes: 960f9df7 ("HID: mcp2221: add ADC/DAC support via iio subsystem")
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 960f9df7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment