mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
treewide: replace dev->trans_start update with helper
Replace all trans_start updates with netif_trans_update helper. change was done via spatch: struct net_device *d; @@ - d->trans_start = jiffies + netif_trans_update(d) Compile tested only. Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Florian Westphal <[email protected]> Acked-by: Felipe Balbi <[email protected]> Acked-by: Mugunthan V N <[email protected]> Acked-by: Antonio Quartulli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
ba162f8eed
commit
860e9538a9
156 changed files with 232 additions and 232 deletions
|
|
@ -194,7 +194,7 @@ lec_send(struct atm_vcc *vcc, struct sk_buff *skb)
|
|||
static void lec_tx_timeout(struct net_device *dev)
|
||||
{
|
||||
pr_info("%s\n", dev->name);
|
||||
dev->trans_start = jiffies;
|
||||
netif_trans_update(dev);
|
||||
netif_wake_queue(dev);
|
||||
}
|
||||
|
||||
|
|
@ -324,7 +324,7 @@ static netdev_tx_t lec_start_xmit(struct sk_buff *skb,
|
|||
out:
|
||||
if (entry)
|
||||
lec_arp_put(entry);
|
||||
dev->trans_start = jiffies;
|
||||
netif_trans_update(dev);
|
||||
return NETDEV_TX_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue