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)
commitfe734d0aa9e120a48999885355f08a99fcf45c77
treef4bdd89ae7ca9de2671b5ebfc7b2f2d839ed5870
parent03fd01ad0eead23eb79294b6fb4d71dcac493855
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