diff options
| author | Philippe Reynes <[email protected]> | 2016-05-16 14:52:36 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-05-17 02:16:32 +0000 |
| commit | c1c511a275c9c0a14836c2071d37946df3862c25 (patch) | |
| tree | 9f467c611626363480357e88ab2c47ebbdcdd1dd /net/switchdev/switchdev.c | |
| parent | netlink: Fix dump skb leak/double free (diff) | |
| download | kernel-c1c511a275c9c0a14836c2071d37946df3862c25.tar.gz kernel-c1c511a275c9c0a14836c2071d37946df3862c25.zip | |
net: ethernet: fs-enet: 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
