]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: remove redundant struct phy_device declaration
authorNicolas Ferre <nicolas.ferre@microchip.com>
Fri, 3 May 2019 10:36:28 +0000 (12:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 May 2019 14:25:34 +0000 (10:25 -0400)
commit38e62620c0346d161859b5cd7a42b6dd2d96c902
tree26e235b34da10fd6980f7d657fb7097f1d776e46
parente91f46a2d800e7a72e322e362c63ad5b62438317
net: macb: remove redundant struct phy_device declaration

While moving the chunk of code during 97583f8700c3
("net: macb: Reorganize macb_mii bringup"), the declaration of
struct phy_device declaration was kept. It's not useful in this
function as we alrady have a phydev pointer.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c