mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 04:19:23 -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:
committed by
Greg Kroah-Hartman
parent
f95f480c51
commit
e663900aed
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user