summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2020-03-12 14:31:23 +0100
committerMark Brown <broonie@kernel.org>2020-03-12 18:22:49 +0100
commitb9dfb20eed5c7dab37d6267a985dbe16df9e4293 (patch)
treeaf0dd55c5484642104939a287071c7a42cedc005 /drivers/spi
parentspi: spi-nxp-fspi: Fix a NULL vs IS_ERR() check in probe (diff)
downloadlinux-b9dfb20eed5c7dab37d6267a985dbe16df9e4293.tar.xz
linux-b9dfb20eed5c7dab37d6267a985dbe16df9e4293.zip
spi: meson-spicc: remove unused variables
Remove unused variables from spicc data struct. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lore.kernel.org/r/20200312133131.26430-2-narmstrong@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-meson-spicc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-meson-spicc.c b/drivers/spi/spi-meson-spicc.c
index 7f5680fe2568..8425e5ae1273 100644
--- a/drivers/spi/spi-meson-spicc.c
+++ b/drivers/spi/spi-meson-spicc.c
@@ -130,9 +130,7 @@ struct meson_spicc_device {
u8 *rx_buf;
unsigned int bytes_per_word;
unsigned long tx_remain;
- unsigned long txb_remain;
unsigned long rx_remain;
- unsigned long rxb_remain;
unsigned long xfer_remain;
bool is_burst_end;
bool is_last_burst;