net: ethernet: stmicro: Remove duplicate struct declaration
authorWan Jiabing <wanjiabing@vivo.com>
Wed, 31 Mar 2021 02:35:53 +0000 (10:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Mar 2021 21:31:14 +0000 (14:31 -0700)
struct stmmac_safety_stats is declared twice. One has been
declared at 29th line. Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/hwif.h

index c9cf89e21a411019908ac30d862f8f8f2789fe55..2b5022ef1e52e3ed1d2b58c761cfedc09a79a4cc 100644 (file)
@@ -280,7 +280,6 @@ struct stmmac_dma_ops {
 struct mac_device_info;
 struct net_device;
 struct rgmii_adv;
-struct stmmac_safety_stats;
 struct stmmac_tc_entry;
 struct stmmac_pps_cfg;
 struct stmmac_rss;