diff options
-rw-r--r-- | drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c index 7aa31eebc356..cb215c65f463 100644 --- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c +++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | |||
@@ -272,12 +272,10 @@ cont_loop: | |||
272 | * @q_vector: structure containing interrupt and ring information | 272 | * @q_vector: structure containing interrupt and ring information |
273 | * @skb: packet to send up | 273 | * @skb: packet to send up |
274 | * @status: hardware indication of status of receive | 274 | * @status: hardware indication of status of receive |
275 | * @rx_ring: rx descriptor ring (for a specific queue) to setup | ||
276 | * @rx_desc: rx descriptor | 275 | * @rx_desc: rx descriptor |
277 | **/ | 276 | **/ |
278 | static void ixgbevf_receive_skb(struct ixgbevf_q_vector *q_vector, | 277 | static void ixgbevf_receive_skb(struct ixgbevf_q_vector *q_vector, |
279 | struct sk_buff *skb, u8 status, | 278 | struct sk_buff *skb, u8 status, |
280 | struct ixgbevf_ring *ring, | ||
281 | union ixgbe_adv_rx_desc *rx_desc) | 279 | union ixgbe_adv_rx_desc *rx_desc) |
282 | { | 280 | { |
283 | struct ixgbevf_adapter *adapter = q_vector->adapter; | 281 | struct ixgbevf_adapter *adapter = q_vector->adapter; |
@@ -461,7 +459,7 @@ static bool ixgbevf_clean_rx_irq(struct ixgbevf_q_vector *q_vector, | |||
461 | } | 459 | } |
462 | skb->protocol = eth_type_trans(skb, rx_ring->netdev); | 460 | skb->protocol = eth_type_trans(skb, rx_ring->netdev); |
463 | 461 | ||
464 | ixgbevf_receive_skb(q_vector, skb, staterr, rx_ring, rx_desc); | 462 | ixgbevf_receive_skb(q_vector, skb, staterr, rx_desc); |
465 | 463 | ||
466 | next_desc: | 464 | next_desc: |
467 | rx_desc->wb.upper.status_error = 0; | 465 | rx_desc->wb.upper.status_error = 0; |