aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorJiri Kosina <[email protected]>2022-10-20 13:42:38 +0200
committerJiri Kosina <[email protected]>2022-10-20 16:13:33 +0200
commitdaf405c8b9b93388295dec07391798039d0f5c26 (patch)
treea1a7ca72638734a927e1870959718d5f52066699 /drivers/usb/cdns3/cdns3-debug.h
parent960f9df7c620ecb6030aff1d9a6c3d67598b8290 (diff)
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 <[email protected]> Fixes: 960f9df7c620 ("HID: mcp2221: add ADC/DAC support via iio subsystem") Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions