aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorIvan Khoronzhuk2017-01-19 18:58:25 +0200
committerDavid S. Miller2017-01-20 12:35:09 -0500
commit03fd01ad0eead23eb79294b6fb4d71dcac493855 (patch)
treefb4cc6c6427542d2cd0864e19287fd3032f54c38 /net
parent176b0cbffdf3f240a19386635811034dfe0fc8ab (diff)
net: ethernet: ti: cpsw: don't duplicate ndev_running
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions