Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e663900a authored by Glen Lee's avatar Glen Lee Committed by Greg Kroah-Hartman
Browse files

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: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f95f480c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
	}

	/**