From: Wan Jiabing Date: Wed, 31 Mar 2021 02:35:53 +0000 (+0800) Subject: net: ethernet: stmicro: Remove duplicate struct declaration X-Git-Tag: microblaze-v5.14~96^2~277 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=53f7c5e1406110b9b8da4b7e2c66023a16bb8714;p=linux-2.6-microblaze.git net: ethernet: stmicro: Remove duplicate struct declaration struct stmmac_safety_stats is declared twice. One has been declared at 29th line. Remove the duplicate. Signed-off-by: Wan Jiabing Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/stmicro/stmmac/hwif.h b/drivers/net/ethernet/stmicro/stmmac/hwif.h index c9cf89e21a41..2b5022ef1e52 100644 --- a/drivers/net/ethernet/stmicro/stmmac/hwif.h +++ b/drivers/net/ethernet/stmicro/stmmac/hwif.h @@ -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;