diff options
author | 2016-05-16 16:52:36 +0200 | |
---|---|---|
committer | 2016-05-16 22:16:32 -0400 | |
commit | c1c511a275c9c0a14836c2071d37946df3862c25 (patch) | |
tree | 9f467c611626363480357e88ab2c47ebbdcdd1dd /net/switchdev | |
parent | netlink: Fix dump skb leak/double free (diff) | |
download | linux-dev-c1c511a275c9c0a14836c2071d37946df3862c25.tar.xz linux-dev-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 <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions