]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit56f4f11804127dfc66bccd6c90f7ae84d6484ab3
tree8555990772465906f238e1eb3e7b2630f5022052
parent6e8b06677f957bc197e7aac86d3e2a7f918171b1
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