Skip to content

Commit f18c51b

Browse files
Wan Jiabingdavem330
authored andcommitted
net: stmmac: Remove duplicate declaration of stmmac_priv
In commit f4da565 ("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 <[email protected]> Reviewed-by: Wong Vee Khee <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8385b1f commit f18c51b

File tree

1 file changed

+0
-1
lines changed
  • drivers/net/ethernet/stmicro/stmmac

1 file changed

+0
-1
lines changed

drivers/net/ethernet/stmicro/stmmac/hwif.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,6 @@ struct stmmac_mode_ops {
564564
#define stmmac_clean_desc3(__priv, __args...) \
565565
stmmac_do_void_callback(__priv, mode, clean_desc3, __args)
566566

567-
struct stmmac_priv;
568567
struct tc_cls_u32_offload;
569568
struct tc_cbs_qopt_offload;
570569
struct flow_cls_offload;

0 commit comments

Comments
 (0)