projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1254856
)
net: ethernet: ti: netcp_core: remove netif_trans_update
author
Ivan Khoronzhuk
<
[email protected]
>
Thu, 9 Feb 2017 14:17:40 +0000
(16:17 +0200)
committer
David S. Miller
<
[email protected]
>
Fri, 10 Feb 2017 18:52:24 +0000
(13:52 -0500)
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/ti/netcp_core.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ti/netcp_core.c
b/drivers/net/ethernet/ti/netcp_core.c
index ebab1473f36609da6c9f1da30acd3e7c03c0efe6..7c7ae0890e90c450c2228e44cf618cdfdedcceec 100644
(file)
--- 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) {