Commit f18c51b6 authored by Wan Jiabing's avatar Wan Jiabing Committed by David S. Miller

net: stmmac: Remove duplicate declaration of stmmac_priv

In commit f4da5652 ("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: default avatarWan Jiabing <wanjiabing@vivo.com>
Reviewed-by: default avatarWong Vee Khee <vee.khee.wong@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8385b1f0
...@@ -564,7 +564,6 @@ struct stmmac_mode_ops { ...@@ -564,7 +564,6 @@ struct stmmac_mode_ops {
#define stmmac_clean_desc3(__priv, __args...) \ #define stmmac_clean_desc3(__priv, __args...) \
stmmac_do_void_callback(__priv, mode, clean_desc3, __args) stmmac_do_void_callback(__priv, mode, clean_desc3, __args)
struct stmmac_priv;
struct tc_cls_u32_offload; struct tc_cls_u32_offload;
struct tc_cbs_qopt_offload; struct tc_cbs_qopt_offload;
struct flow_cls_offload; struct flow_cls_offload;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment