]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcd6ebf4c4997bbe682c13e36ad00a7eb677d891f
tree603bccb06b237a07cea5eb0863b3e5445be5752f
parent8d80419a56a80c47dc7b25d252c0151862c7597d
net: stmmac: Remove duplicate declaration of stmmac_priv

In commit d866bbf5f788e ("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