net: dsa: Eliminate dsa_slave_get_link()
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 10 May 2018 20:17:34 +0000 (13:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2018 16:03:06 +0000 (12:03 -0400)
commitc4aef9fc0d4b1d497c2f2973e3f123bcb96d6bbc
tree3f5664aa969c65185742a89fa10c41d0738e76b8
parentbc0cb653a3f06b5a1ee9f12cc1c367a8736aca28
net: dsa: Eliminate dsa_slave_get_link()

Since we use PHYLIB to manage the per-port link indication, this will
also be reflected correctly in the network device's carrier state, so we
can use ethtool_op_get_link() instead.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c