summaryrefslogtreecommitdiff
path: root/net/bridge/br_input.c
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2016-07-15 13:39:02 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-16 02:41:36 +0300
commit7dc099345268154a6d5997743da4b08ff89bdca3 (patch)
treed61992d6f1ee1bddfe7e166d76e996a684fc634b /net/bridge/br_input.c
parentb401a9bce7f3e73ebbe10639e0986f7f3b01e5ca (diff)
downloadlinux-7dc099345268154a6d5997743da4b08ff89bdca3.tar.xz
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 <tremyfr@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_input.c')
0 files changed, 0 insertions, 0 deletions