- net-next plumbings
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-07-30 16:14:43 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-08 15:42:20 -0700
commit86bc5ed672eea892dce43e8be8b3de6e58c51d5e (patch)
treea0deac96db434801f61dc6433f94434ec6782d61
parent11de8e62de66affb1b5a037ecacb4ee2933a9cb3 (diff)
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: David S. Miller <davem@davemloft.net>