mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
wlcore: spi: fix build warning caused by redundant variable
The ret variable is unused in wlcore_probe_of()
Remove it for fixing build warning.
Fixes: 01efe65aba ("wlcore: spi: add wl18xx support")
Signed-off-by: Eyal Reizer <eyalr@ti.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
593463ff1c
commit
cb6a115188
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue