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:
593463f
)
wlcore: spi: fix build warning caused by redundant variable
author
Reizer, Eyal
<eyalr@ti.com>
Wed, 20 Jul 2016 07:30:20 +0000
(07:30 +0000)
committer
Kalle Valo
<kvalo@codeaurora.org>
Wed, 20 Jul 2016 18:09:13 +0000
(21:09 +0300)
The ret variable is unused in wlcore_probe_of()
Remove it for fixing build warning.
Fixes:
01efe65aba65
("wlcore: spi: add wl18xx support")
Signed-off-by: Eyal Reizer <eyalr@ti.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ti/wlcore/spi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/ti/wlcore/spi.c
b/drivers/net/wireless/ti/wlcore/spi.c
index 73fbcf15545c43648e95e6a88d576398f29abb15..6d24040889b81ba3c0a6868c6234f38bb73ba770 100644
(file)
--- a/
drivers/net/wireless/ti/wlcore/spi.c
+++ b/
drivers/net/wireless/ti/wlcore/spi.c
@@
-454,7
+454,6
@@
static int wlcore_probe_of(struct spi_device *spi, struct wl12xx_spi_glue *glue,
struct wlcore_platdev_data *pdev_data)
{
struct device_node *dt_node = spi->dev.of_node;
- int ret;
const struct of_device_id *of_id;
of_id = of_match_node(wlcore_spi_of_match_table, dt_node);