Re: [PATCH net-next] net: cdc_ncm: remove set but not used variable 'ctx'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Fri, 12 Oct 2018 01:49:13 +0000

> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> drivers/net/usb/cdc_ncm.c: In function 'cdc_ncm_status':
> drivers/net/usb/cdc_ncm.c:1603:22: warning:
>  variable 'ctx' set but not used [-Wunused-but-set-variable]
>   struct cdc_ncm_ctx *ctx;
> 
> It not used any more after
> commit fa83dbeee558 ("net: cdc_ncm: remove redundant "disconnected" flag")
> 
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied.



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux