]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpsw: don't duplicate common res in rx handler
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Thu, 19 Jan 2017 16:58:26 +0000 (18:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jan 2017 17:35:10 +0000 (12:35 -0500)
commit441611979aca10ee5ac11926022efa94f30d4393
treef4bdd89ae7ca9de2671b5ebfc7b2f2d839ed5870
parentac3b4689642aa1512cc8713d66ec6454cf3bdefb
net: ethernet: ti: cpsw: don't duplicate common res in rx handler

No need to duplicate the same function in rx handler to get info
if any interface is running.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c