summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-04-30 11:10:47 +0800
committerDavid S. Miller <davem@davemloft.net>2021-04-30 15:21:44 -0700
commitf18c51b6513c6bd39c834855e3ccaec52c150c84 (patch)
tree603bccb06b237a07cea5eb0863b3e5445be5752f /drivers/net
parent8385b1f0ad0d86b99476de654623effdcb6ac2a2 (diff)
downloadlinux-f18c51b6513c6bd39c834855e3ccaec52c150c84.tar.bz2
net: stmmac: Remove duplicate declaration of stmmac_priv
In commit f4da56529da60 ("net: stmmac: Add support for external trigger timestamping"), struct stmmac_priv was declared at line 507 which caused duplicate struct declarations. Remove later duplicate declaration here. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Reviewed-by: Wong Vee Khee <vee.khee.wong@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/hwif.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/hwif.h b/drivers/net/ethernet/stmicro/stmmac/hwif.h
index 2cc91759b91f..6d5e0f2b03ce 100644
--- a/drivers/net/ethernet/stmicro/stmmac/hwif.h
+++ b/drivers/net/ethernet/stmicro/stmmac/hwif.h
@@ -564,7 +564,6 @@ struct stmmac_mode_ops {
#define stmmac_clean_desc3(__priv, __args...) \
stmmac_do_void_callback(__priv, mode, clean_desc3, __args)
-struct stmmac_priv;
struct tc_cls_u32_offload;
struct tc_cbs_qopt_offload;
struct flow_cls_offload;