net: stmmac: Remove duplicate declaration of stmmac_priv
authorWan Jiabing <wanjiabing@vivo.com>
Fri, 30 Apr 2021 03:10:47 +0000 (11:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Apr 2021 22:21:44 +0000 (15:21 -0700)
commitf18c51b6513c6bd39c834855e3ccaec52c150c84
tree603bccb06b237a07cea5eb0863b3e5445be5752f
parent8385b1f0ad0d86b99476de654623effdcb6ac2a2
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>
drivers/net/ethernet/stmicro/stmmac/hwif.h