[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180919.231029.1752354474729594132.davem@davemloft.net>
Date: Wed, 19 Sep 2018 23:10:29 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: jcliburn@...il.com, chris.snook@...il.com, keescook@...omium.org,
zhongjiang@...wei.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] atl1: remove set but not used variable
'advertising'
From: YueHaibing <yuehaibing@...wei.com>
Date: Thu, 20 Sep 2018 02:41:30 +0000
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/atheros/atlx/atl1.c: In function 'atl1_set_link_ksettings':
> drivers/net/ethernet/atheros/atlx/atl1.c:3280:6: warning:
> variable 'advertising' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists