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 c9cf89e..2b5022e 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;