mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
e1000: use netif_tx_disable
we can use netif_tx_disable now because LLTX has been removed. Signed-off-by: Jesse Brandeburg <[email protected]> Signed-off-by: Don Skidmore <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
282b177782
commit
5185107309
1 changed files with 1 additions and 2 deletions
|
|
@ -485,8 +485,7 @@ void e1000_down(struct e1000_adapter *adapter)
|
|||
ew32(RCTL, rctl & ~E1000_RCTL_EN);
|
||||
/* flush and sleep below */
|
||||
|
||||
/* can be netif_tx_disable when NETIF_F_LLTX is removed */
|
||||
netif_stop_queue(netdev);
|
||||
netif_tx_disable(netdev);
|
||||
|
||||
/* disable transmits in the hardware */
|
||||
tctl = er32(TCTL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue