net: ethernet: ti: cpsw: remove netif_trans_update
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Mon, 6 Feb 2017 22:53:45 +0000 (00:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2017 18:36:53 +0000 (13:36 -0500)
commit219189e764be35372c298bee6492fc4c870b6ffd
tree7fd5c87eaa495009247ac497ad65b210f1d2d08a
parent919ce2a4f7487fea577131957448a457eb14d277
net: ethernet: ti: cpsw: remove netif_trans_update

No need to update jiffies in txq->trans_start twice, it's supposed to be
done in netdev_start_xmit() and anyway is re-written. Also, no reason to
update trans time in case of an error.

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