Skip to content

Commit

Permalink
ixgbevf - Remove unused parameter in ixgbevf_receive_skb
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Narendra K authored and Jeff Kirsher committed Sep 24, 2012
1 parent 0584d99 commit b3d58a8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,10 @@ static bool ixgbevf_clean_tx_irq(struct ixgbevf_q_vector *q_vector,
* @q_vector: structure containing interrupt and ring information
* @skb: packet to send up
* @status: hardware indication of status of receive
* @rx_ring: rx descriptor ring (for a specific queue) to setup
* @rx_desc: rx descriptor
**/
static void ixgbevf_receive_skb(struct ixgbevf_q_vector *q_vector,
struct sk_buff *skb, u8 status,
struct ixgbevf_ring *ring,
union ixgbe_adv_rx_desc *rx_desc)
{
struct ixgbevf_adapter *adapter = q_vector->adapter;
Expand Down Expand Up @@ -461,7 +459,7 @@ static bool ixgbevf_clean_rx_irq(struct ixgbevf_q_vector *q_vector,
}
skb->protocol = eth_type_trans(skb, rx_ring->netdev);

ixgbevf_receive_skb(q_vector, skb, staterr, rx_ring, rx_desc);
ixgbevf_receive_skb(q_vector, skb, staterr, rx_desc);

next_desc:
rx_desc->wb.upper.status_error = 0;
Expand Down

0 comments on commit b3d58a8

Please sign in to comment.