Re: [PATCH net-next 1/4] net: dsa: Eliminate dsa_slave_get_link()

2018-03-18 Thread Andrew Lunn
On Sun, Mar 18, 2018 at 11:52:43AM -0700, Florian Fainelli wrote: > 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 Review

[PATCH net-next 1/4] net: dsa: Eliminate dsa_slave_get_link()

2018-03-18 Thread Florian Fainelli
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 --- net/dsa/slave.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletion