atl1: remove set but not used variable 'advertising'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 20 Sep 2018 02:41:30 +0000 (02:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 06:10:07 +0000 (23:10 -0700)
commit713746bb2866838bad96da3965daaa6d87dce38b
tree8555990772465906f238e1eb3e7b2630f5022052
parentda2cfbd3e75675f19363a0f16c4234b462dd5bcc
atl1: remove set but not used variable 'advertising'

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@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atlx/atl1.c