projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a73b28
)
mfd: tps65912-spi: Remove unused variable
author
Sachin Kamat
<sachin.kamat@samsung.com>
Fri, 18 Jul 2014 12:00:17 +0000
(17:30 +0530)
committer
Lee Jones
<lee.jones@linaro.org>
Mon, 28 Jul 2014 07:10:06 +0000
(08:10 +0100)
‘rx_buf’ is not used in this function.
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/tps65912-spi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/tps65912-spi.c
b/drivers/mfd/tps65912-spi.c
index 69a5178bf152a01aca63059778749715f65ed12f..de60ad98bd9f009ebb87dbc7685867f6be8f5852 100644
(file)
--- a/
drivers/mfd/tps65912-spi.c
+++ b/
drivers/mfd/tps65912-spi.c
@@
-32,10
+32,9
@@
static int tps65912_spi_write(struct tps65912 *tps65912, u8 addr,
unsigned long spi_data = 1 << 23 | addr << 15 | *data;
struct spi_transfer xfer;
struct spi_message msg;
- u32 tx_buf
, rx_buf
;
+ u32 tx_buf;
tx_buf = spi_data;
- rx_buf = 0;
xfer.tx_buf = &tx_buf;
xfer.rx_buf = NULL;