diff options
| author | Jiri Kosina <[email protected]> | 2022-10-20 11:42:38 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2022-10-20 14:13:33 +0000 |
| commit | daf405c8b9b93388295dec07391798039d0f5c26 (patch) | |
| tree | a1a7ca72638734a927e1870959718d5f52066699 /drivers/fpga/microchip-spi.c | |
| parent | HID: mcp2221: add ADC/DAC support via iio subsystem (diff) | |
| download | kernel-daf405c8b9b93388295dec07391798039d0f5c26.tar.gz kernel-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 <[email protected]>
Fixes: 960f9df7c620 ("HID: mcp2221: add ADC/DAC support via iio subsystem")
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
