aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel
diff options
context:
space:
mode:
authorNarendra K <narendra_k@dell.com>2012-08-13 20:00:14 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-09-24 03:47:10 -0400
commitb3d58a8fa6c8d4bcd6b2b64656be166aff9183b0 (patch)
treea74690f09b1ed8a5db74c28ee9735d07e6797b75 /drivers/net/ethernet/intel
parent0584d999328f3033c038118fb891c9efd5f361df (diff)
ixgbevf - Remove unused parameter in ixgbevf_receive_skb
Remove 'rx_ring' parameter as it is not used in ixgbevf_receive_skb Signed-off-by: Narendra K <narendra_k@dell.com> Acked-by: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel')
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c4
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 **/
278static void ixgbevf_receive_skb(struct ixgbevf_q_vector *q_vector, 277static 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
466next_desc: 464next_desc:
467 rx_desc->wb.upper.status_error = 0; 465 rx_desc->wb.upper.status_error = 0;