diff options
author | Philippe Reynes <tremyfr@gmail.com> | 2016-07-16 02:13:34 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-21 19:02:32 +0300 |
commit | 5d99db13b77e301fcd839310d47392053db35562 (patch) | |
tree | e937dc658aca495243b7835ed62624198d6ef7fc /drivers/staging/octeon/octeon-ethernet.h | |
parent | 0048a44c36db045071dcb1bb4844140cd3712e1d (diff) | |
download | linux-5d99db13b77e301fcd839310d47392053db35562.tar.xz |
net: ethernet: octeon: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon/octeon-ethernet.h')
-rw-r--r-- | drivers/staging/octeon/octeon-ethernet.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/octeon/octeon-ethernet.h b/drivers/staging/octeon/octeon-ethernet.h index 6275c15e0035..d533aefe085a 100644 --- a/drivers/staging/octeon/octeon-ethernet.h +++ b/drivers/staging/octeon/octeon-ethernet.h @@ -40,7 +40,6 @@ struct octeon_ethernet { struct sk_buff_head tx_free_list[16]; /* Device statistics */ struct net_device_stats stats; - struct phy_device *phydev; unsigned int last_speed; unsigned int last_link; /* Last negotiated link state */ |