diff options
| author | Philippe Reynes <[email protected]> | 2016-07-15 10:39:02 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-07-15 23:41:36 +0000 |
| commit | 7dc099345268154a6d5997743da4b08ff89bdca3 (patch) | |
| tree | d61992d6f1ee1bddfe7e166d76e996a684fc634b /net/ipv4/tcp_timer.c | |
| parent | net: ethernet: ti: cpmac: use phydev from struct net_device (diff) | |
| download | kernel-7dc099345268154a6d5997743da4b08ff89bdca3.tar.gz kernel-7dc099345268154a6d5997743da4b08ff89bdca3.zip | |
net: ethernet: ti: cpmac: use phy_ethtool_{get|set}_link_ksettings
There are two generics functions phy_ethtool_{get|set}_link_ksettings,
so we can use them instead of defining the same code in the driver.
There was a check on CAP_NET_ADMIN in cpmac_set_settings, but this
check is already done in dev_ethtool, so no need to repeat it before
calling the generic function.
Signed-off-by: Philippe Reynes <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions
