[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181012.094855.1242230536249147806.davem@davemloft.net>
Date: Fri, 12 Oct 2018 09:48:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: oliver@...kum.org, linux-usb@...r.kernel.org,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] net: cdc_ncm: remove set but not used
variable 'ctx'
From: YueHaibing <yuehaibing@...wei.com>
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@...wei.com>
Applied.
Powered by blists - more mailing lists