Commits
Ivan Khoronzhuk committed f5bcb6c8bd2
net: ethernet: ti: cpsw: don't duplicate ndev_running commit 03fd01ad0eead23eb79294b6fb4d71dcac493855 upstream. No need to create additional vars to identify if interface is running. So simplify code by removing redundant var and checking usage counter instead. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>