]> git.baikalelectronics.ru Git - kernel.git/commit
atl2: remove unused variable 'atl2_driver_string'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 26 Mar 2020 03:21:50 +0000 (11:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Mar 2020 18:22:20 +0000 (11:22 -0700)
commit67a5afa9b369e5a14b79054151d1f709a78a5a99
tree157bbf262c6ce0e5a272d31ffc3d7b910d38ebf5
parente2392ec2c46127665b5b995aaa88dca381dc63d3
atl2: remove unused variable 'atl2_driver_string'

drivers/net/ethernet/atheros/atlx/atl2.c:40:19: warning: ‘atl2_driver_string’ defined but not used [-Wunused-const-variable=]
 static const char atl2_driver_string[] = "Atheros(R) L2 Ethernet Driver";
                   ^~~~~~~~~~~~~~~~~~

commit 413afd8e9705 ("net/atheros: Clean atheros code from driver version")
left behind this, remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atlx/atl2.c