mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
staging: wilc1000: fix always return 0 error
This patch fixes a bug that return always 0 so it fails every time.
Fixes: c1af9db78950 ("staging: wilc1000: call linux_sdio_init instead of io_init")
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f95f480c51
commit
e663900aed
1 changed files with 0 additions and 2 deletions
|
|
@ -614,8 +614,6 @@ static int sdio_init(struct wilc *wilc)
|
|||
if (!wilc_sdio_init()) {
|
||||
dev_err(&func->dev, "Failed io init bus...\n");
|
||||
return 0;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue