diff options
| -rw-r--r-- | drivers/net/ethernet/intel/igbvf/netdev.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/igbvf/netdev.c b/drivers/net/ethernet/intel/igbvf/netdev.c index c12442252adb..78af4c7716d3 100644 --- a/drivers/net/ethernet/intel/igbvf/netdev.c +++ b/drivers/net/ethernet/intel/igbvf/netdev.c | |||
| @@ -1367,7 +1367,7 @@ static void igbvf_configure_rx(struct igbvf_adapter *adapter) | |||
| 1367 | struct e1000_hw *hw = &adapter->hw; | 1367 | struct e1000_hw *hw = &adapter->hw; |
| 1368 | struct igbvf_ring *rx_ring = adapter->rx_ring; | 1368 | struct igbvf_ring *rx_ring = adapter->rx_ring; |
| 1369 | u64 rdba; | 1369 | u64 rdba; |
| 1370 | u32 rdlen, rxdctl; | 1370 | u32 rxdctl; |
| 1371 | 1371 | ||
| 1372 | /* disable receives */ | 1372 | /* disable receives */ |
| 1373 | rxdctl = er32(RXDCTL(0)); | 1373 | rxdctl = er32(RXDCTL(0)); |
| @@ -1375,8 +1375,6 @@ static void igbvf_configure_rx(struct igbvf_adapter *adapter) | |||
| 1375 | e1e_flush(); | 1375 | e1e_flush(); |
| 1376 | msleep(10); | 1376 | msleep(10); |
| 1377 | 1377 | ||
| 1378 | rdlen = rx_ring->count * sizeof(union e1000_adv_rx_desc); | ||
| 1379 | |||
| 1380 | /* Setup the HW Rx Head and Tail Descriptor Pointers and | 1378 | /* Setup the HW Rx Head and Tail Descriptor Pointers and |
| 1381 | * the Base and Length of the Rx Descriptor Ring | 1379 | * the Base and Length of the Rx Descriptor Ring |
| 1382 | */ | 1380 | */ |
