diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-09-10 16:11:39 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-09-14 19:48:15 +0100 |
commit | 2bdf5151a3a9224d622f1f2bdd20f56bad5d2505 (patch) | |
tree | f7f57a8853e4c359183abf66f627ddf3b3771830 /drivers/spi/spi-bcm63xx.c | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff) | |
download | linux-2bdf5151a3a9224d622f1f2bdd20f56bad5d2505.tar.gz linux-2bdf5151a3a9224d622f1f2bdd20f56bad5d2505.tar.bz2 linux-2bdf5151a3a9224d622f1f2bdd20f56bad5d2505.zip |
spi/bcm63xx: remove unused rx_tail variable
Fixes the following warning:
drivers/spi/spi-bcm63xx.c:125:5: warning: unused variable 'rx_tail' [-Wunused-variable]
u8 rx_tail;
^
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-bcm63xx.c')
-rw-r--r-- | drivers/spi/spi-bcm63xx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c index e73e2b052c9c..2b908db0abb1 100644 --- a/drivers/spi/spi-bcm63xx.c +++ b/drivers/spi/spi-bcm63xx.c @@ -122,7 +122,6 @@ static int bcm63xx_txrx_bufs(struct spi_device *spi, struct spi_transfer *first, struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); u16 msg_ctl; u16 cmd; - u8 rx_tail; unsigned int i, timeout = 0, prepend_len = 0, len = 0; struct spi_transfer *t = first; bool do_rx = false; |