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

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

staging: wilc1000: remove unused variable



wilc_sdio_func is not used anymore so just delete it.

Signed-off-by: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0b8bea1c
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -11,8 +11,6 @@


#define SDIO_MODALIAS "wilc1000_sdio"
#define SDIO_MODALIAS "wilc1000_sdio"


static struct sdio_func *wilc_sdio_func;

#define SDIO_VENDOR_ID_WILC 0x0296
#define SDIO_VENDOR_ID_WILC 0x0296
#define SDIO_DEVICE_ID_WILC 0x5347
#define SDIO_DEVICE_ID_WILC 0x5347


@@ -105,7 +103,6 @@ static int linux_sdio_probe(struct sdio_func *func, const struct sdio_device_id
	}
	}


	PRINT_D(INIT_DBG, "Initializing netdev\n");
	PRINT_D(INIT_DBG, "Initializing netdev\n");
	wilc_sdio_func = func;
	if (wilc_netdev_init(&wilc, &func->dev, HIF_SDIO, gpio,
	if (wilc_netdev_init(&wilc, &func->dev, HIF_SDIO, gpio,
			     &wilc_hif_sdio)) {
			     &wilc_hif_sdio)) {
		PRINT_ER("Couldn't initialize netdev\n");
		PRINT_ER("Couldn't initialize netdev\n");