]> git.baikalelectronics.ru Git - kernel.git/commitdiff
enetc: Remove unused variable 'enetc_drv_name'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 19 Mar 2020 06:46:37 +0000 (14:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Mar 2020 20:09:32 +0000 (13:09 -0700)
commit 54e86af49a59 ("net/freescale: Clean drivers from static versions")
leave behind this, remove it .

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_pf.c
drivers/net/ethernet/freescale/enetc/enetc_vf.c

index 4e4a49179f0bfd1406b8809e8af548619934f8d1..85e2b741df41456b155f851a85f17b079ed929b8 100644 (file)
@@ -8,7 +8,6 @@
 #include "enetc_pf.h"
 
 #define ENETC_DRV_NAME_STR "ENETC PF driver"
-static const char enetc_drv_name[] = ENETC_DRV_NAME_STR;
 
 static void enetc_pf_get_primary_mac_addr(struct enetc_hw *hw, int si, u8 *addr)
 {
index 28a786b2f3e7ff346c388f5610b9735de22979be..f14576212a0ef349f176915e3229fe1017e38e93 100644 (file)
@@ -5,7 +5,6 @@
 #include "enetc.h"
 
 #define ENETC_DRV_NAME_STR "ENETC VF driver"
-static const char enetc_drv_name[] = ENETC_DRV_NAME_STR;
 
 /* Messaging */
 static void enetc_msg_vsi_write_msg(struct enetc_hw *hw,