projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ff33f3
)
spi/bcm63xx: remove unused rx_tail variable
author
Jonas Gorski
<jogo@openwrt.org>
Thu, 10 Sep 2015 14:11:39 +0000
(16:11 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 14 Sep 2015 18:48:15 +0000
(19:48 +0100)
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>
drivers/spi/spi-bcm63xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-bcm63xx.c
b/drivers/spi/spi-bcm63xx.c
index e73e2b052c9ccf0ca3ff2ef46950600aa5ff9f3f..2b908db0abb17fe844bc8d051736174f6d11518f 100644
(file)
--- 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;