spi: spi-meson-spicc: Remove set but never used variable 'data' from meson_spicc_rese...
authorLee Jones <lee.jones@linaro.org>
Fri, 17 Jul 2020 13:54:16 +0000 (14:54 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 17 Jul 2020 15:38:48 +0000 (16:38 +0100)
commitd9b883aeaeb05d196244383ebe1bc52e39697948
treedd0b743bc8f61e98e6f46b3a1d1d7dc78c8f5797
parent78a7f0c0a170ddef39822b8ec2b6311f0f27ea9b
spi: spi-meson-spicc: Remove set but never used variable 'data' from meson_spicc_reset_fifo()

Looks like it hasn't ever been checked.

Fixes the following W=1 kernel build warning(s):

 drivers/spi/spi-meson-spicc.c: In function ‘meson_spicc_reset_fifo’:
 drivers/spi/spi-meson-spicc.c:365:6: warning: variable ‘data’ set but not used [-Wunused-but-set-variable]
 365 | u32 data;
 | ^~~~

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: linux-amlogic@lists.infradead.org
Link: https://lore.kernel.org/r/20200717135424.2442271-7-lee.jones@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-meson-spicc.c