diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2016-07-15 11:36:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-16 02:41:35 +0300 |
commit | 5d872c506fbb90c9ee43ba90ddc56aebec124aa9 (patch) | |
tree | 06ac196ed526678348f3ee1e9a6f5f822edf6d3c /drivers/net/dummy.c | |
parent | 87e544bfd52214bab515343d93510a2ad296edff (diff) | |
download | linux-5d872c506fbb90c9ee43ba90ddc56aebec124aa9.tar.xz |
net: ethernet: smsc9420: 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
phy 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 'drivers/net/dummy.c')
0 files changed, 0 insertions, 0 deletions