mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
staging: wilc1000: remove wilc_sdio_init
wilc_sdio_init return always 1, which is needless. Remove it and it's related codes also. Signed-off-by: Glen Lee <glen.lee@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e663900aed
commit
43d1ca5284
1 changed files with 0 additions and 10 deletions
|
|
@ -185,11 +185,6 @@ static void wilc_sdio_disable_interrupt(struct wilc *dev)
|
|||
dev_info(&func->dev, "wilc_sdio_disable_interrupt OUT\n");
|
||||
}
|
||||
|
||||
static int wilc_sdio_init(void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
/********************************************
|
||||
*
|
||||
* Function 0
|
||||
|
|
@ -611,11 +606,6 @@ static int sdio_init(struct wilc *wilc)
|
|||
|
||||
g_sdio.irq_gpio = (wilc->dev_irq_num);
|
||||
|
||||
if (!wilc_sdio_init()) {
|
||||
dev_err(&func->dev, "Failed io init bus...\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* function 0 csa enable
|
||||
**/
|
||||
|
|
|
|||
Loading…
Reference in a new issue