diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2016-05-17 00:32:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-16 22:20:06 -0400 |
commit | a54d20f85ab12fab4873d2947b2be965430bf609 (patch) | |
tree | b9e349ac79c83cc1c34699622f2f1f1c05894a3c /net/switchdev/switchdev.c | |
parent | 9295c034726e025395e6eff3013fa9e3753bcb39 (diff) |
net: ethernet: fec-mpc52xx: use phydev from struct net_device
The private structure contain a pointer to phydev, but the structure
net_device already contain such pointer. So we can remove the pointer
phydev in the private structure, and update the driver to use the
one contained in struct net_device.
Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions