diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2017-02-09 16:17:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-10 13:52:24 -0500 |
commit | 1deeaa0b86973bef6629396cc0f5f092872bb6de (patch) | |
tree | 851acf1ee404d0134aa42454ad12bdce2e790cc2 | |
parent | 1254856c07e0e5707d3291f625db8ed69a866be2 (diff) | |
download | linux-stable-1deeaa0b86973bef6629396cc0f5f092872bb6de.tar.gz linux-stable-1deeaa0b86973bef6629396cc0f5f092872bb6de.tar.bz2 linux-stable-1deeaa0b86973bef6629396cc0f5f092872bb6de.zip |
net: ethernet: ti: netcp_core: remove netif_trans_update
No need to update jiffies in txq->trans_start twice and only for tx 0,
it's supposed to be done in netdev_start_xmit() and per tx queue.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/ti/netcp_core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ti/netcp_core.c b/drivers/net/ethernet/ti/netcp_core.c index ebab1473f366..7c7ae0890e90 100644 --- a/drivers/net/ethernet/ti/netcp_core.c +++ b/drivers/net/ethernet/ti/netcp_core.c @@ -1316,8 +1316,6 @@ static int netcp_ndo_start_xmit(struct sk_buff *skb, struct net_device *ndev) if (ret) goto drop; - netif_trans_update(ndev); - /* Check Tx pool count & stop subqueue if needed */ desc_count = knav_pool_count(netcp->tx_pool); if (desc_count < netcp->tx_pause_threshold) { |