diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-03-26 11:21:50 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-26 11:22:20 -0700 |
commit | 9d6a36c7548d18343dc427b8518a17c961c50ff4 (patch) | |
tree | 157bbf262c6ce0e5a272d31ffc3d7b910d38ebf5 | |
parent | 8b1e5b0a99f04bda2d6c85ecfe5e68a356c10914 (diff) | |
download | linux-stable-9d6a36c7548d18343dc427b8518a17c961c50ff4.tar.gz linux-stable-9d6a36c7548d18343dc427b8518a17c961c50ff4.tar.bz2 linux-stable-9d6a36c7548d18343dc427b8518a17c961c50ff4.zip |
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 ea973742140b ("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>
-rw-r--r-- | drivers/net/ethernet/atheros/atlx/atl2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/atheros/atlx/atl2.c b/drivers/net/ethernet/atheros/atlx/atl2.c index 7c52b92b599d..c915852b8892 100644 --- a/drivers/net/ethernet/atheros/atlx/atl2.c +++ b/drivers/net/ethernet/atheros/atlx/atl2.c @@ -37,7 +37,6 @@ #include "atl2.h" static const char atl2_driver_name[] = "atl2"; -static const char atl2_driver_string[] = "Atheros(R) L2 Ethernet Driver"; static const struct ethtool_ops atl2_ethtool_ops; MODULE_AUTHOR("Atheros Corporation <xiong.huang@atheros.com>, Chris Snook <csnook@redhat.com>"); |