[PATCH 1/4] staging: wilc1000: wilc_wfi_netdevice.c: remove commented codes

Sudip Mukherjee sudipm.mukherjee at gmail.com
Tue Jun 23 11:43:08 UTC 2015


On Tue, Jun 23, 2015 at 09:17:44AM +0900, Chaehyun Lim wrote:
> Remove commented codes.
> 
> Signed-off-by: Chaehyun Lim <chaehyun.lim at gmail.com>
> ---
>  drivers/staging/wilc1000/wilc_wfi_netdevice.c | 21 ---------------------
>  1 file changed, 21 deletions(-)
> 
> diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.c b/drivers/staging/wilc1000/wilc_wfi_netdevice.c
> index 170ca65..478cd2b 100644
> --- a/drivers/staging/wilc1000/wilc_wfi_netdevice.c
> +++ b/drivers/staging/wilc1000/wilc_wfi_netdevice.c
<snip>
> @@ -931,10 +914,6 @@ int WILC_WFI_InitModule(void)
>  
>  	WILC_memset(priv[0]->au8AssociatedBss, 0xFF, ETH_ALEN);
>  
> -
> -	/* ret = host_int_init(&priv[0]->hWILCWFIDrv); */
> -	/*copy handle to the other driver*/
> -	/* priv[1]->hWILCWFIDrv = priv[0]->hWILCWFIDrv; */
>  	if (ret)
>  		PRINT_ER("Error Init Driver\n");
This is not applying. My file is having here:
if (ret) {
	PRINT_ER("Error Init Driver\n");
}

is this patch dependent on some prior patch which is not yet applied
to staging?

regards
sudip


More information about the devel mailing list