summaryrefslogtreecommitdiffstats
path: root/sound/usb/proc.h
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2023-12-27 15:35:46 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2024-01-22 13:11:02 +0100
commitbf3159c0ef1fd2bc999e3a4910b1c610949ae333 (patch)
tree31e215e2dde575c09bc40d850b66aab2ea53a0f7 /sound/usb/proc.h
parent71fee48fb772ac4f6cfa63dbebc5629de8b4cc09 (diff)
downloadlinux-stable-bf3159c0ef1fd2bc999e3a4910b1c610949ae333.tar.gz
linux-stable-bf3159c0ef1fd2bc999e3a4910b1c610949ae333.tar.bz2
linux-stable-bf3159c0ef1fd2bc999e3a4910b1c610949ae333.zip
clocksource/drivers/imx: Fix -Wunused-but-set-variable warning
All warnings (new ones prefixed by >>): drivers/clocksource/timer-imx-gpt.c: In function 'mxc_timer_interrupt': >> drivers/clocksource/timer-imx-gpt.c:279:18: warning: variable 'tstat' set but not used [-Wunused-but-set-variable] 279 | uint32_t tstat; | ^~~~~ vim +/tstat +279 drivers/clocksource/timer-imx-gpt.c The change remove the tstats assignment but not the reading of the register, assuming the register may be a ROR (Reset On Read) which happens in the driver's interrupt registers. Fixes: df181e382816 ("clocksource/drivers/imx-gpt: Add support for ARM64") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202312231803.XzPddRa5-lkp@intel.com/ Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20231227143546.2823683-1-daniel.lezcano@linaro.org
Diffstat (limited to 'sound/usb/proc.h')
0 files changed, 0 insertions, 0 deletions