mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-09-22 04:32:41 +00:00
[PATCH] e1000: fix compile warning
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
This commit is contained in:
parent
86c3d59ff5
commit
7c4d33675f
1 changed files with 1 additions and 1 deletions
|
@ -2186,9 +2186,9 @@ e1000_leave_82542_rst(struct e1000_adapter *adapter)
|
||||||
e1000_pci_set_mwi(&adapter->hw);
|
e1000_pci_set_mwi(&adapter->hw);
|
||||||
|
|
||||||
if (netif_running(netdev)) {
|
if (netif_running(netdev)) {
|
||||||
e1000_configure_rx(adapter);
|
|
||||||
/* No need to loop, because 82542 supports only 1 queue */
|
/* No need to loop, because 82542 supports only 1 queue */
|
||||||
struct e1000_rx_ring *ring = &adapter->rx_ring[0];
|
struct e1000_rx_ring *ring = &adapter->rx_ring[0];
|
||||||
|
e1000_configure_rx(adapter);
|
||||||
adapter->alloc_rx_buf(adapter, ring, E1000_DESC_UNUSED(ring));
|
adapter->alloc_rx_buf(adapter, ring, E1000_DESC_UNUSED(ring));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue