diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2010-10-05 23:29:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-06 17:10:38 -0400 |
commit | 749a85033ec7c5c0fa54a0023fd5d59eb5e57a20 (patch) | |
tree | 779936799fbc7e5d7c9414919882514124a68228 /drivers/net/bnx2x | |
parent | f2e0899f0f275cc3f5e9c9726178d7d0ac19b2db (diff) |
bnx2x: remove unused parameter in reuse_rx_skb()
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_cmn.c | 4 | ||||
-rw-r--r-- | drivers/net/bnx2x/bnx2x_cmn.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bnx2x/bnx2x_cmn.c b/drivers/net/bnx2x/bnx2x_cmn.c index cffa778ec5bf..5b8c0b6369ff 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.c +++ b/drivers/net/bnx2x/bnx2x_cmn.c | |||
@@ -595,7 +595,7 @@ int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget) | |||
595 | skb_reserve(new_skb, pad); | 595 | skb_reserve(new_skb, pad); |
596 | skb_put(new_skb, len); | 596 | skb_put(new_skb, len); |
597 | 597 | ||
598 | bnx2x_reuse_rx_skb(fp, skb, bd_cons, bd_prod); | 598 | bnx2x_reuse_rx_skb(fp, bd_cons, bd_prod); |
599 | 599 | ||
600 | skb = new_skb; | 600 | skb = new_skb; |
601 | 601 | ||
@@ -614,7 +614,7 @@ int bnx2x_rx_int(struct bnx2x_fastpath *fp, int budget) | |||
614 | "of alloc failure\n"); | 614 | "of alloc failure\n"); |
615 | fp->eth_q_stats.rx_skb_alloc_failed++; | 615 | fp->eth_q_stats.rx_skb_alloc_failed++; |
616 | reuse_rx: | 616 | reuse_rx: |
617 | bnx2x_reuse_rx_skb(fp, skb, bd_cons, bd_prod); | 617 | bnx2x_reuse_rx_skb(fp, bd_cons, bd_prod); |
618 | goto next_rx; | 618 | goto next_rx; |
619 | } | 619 | } |
620 | 620 | ||
diff --git a/drivers/net/bnx2x/bnx2x_cmn.h b/drivers/net/bnx2x/bnx2x_cmn.h index 41d0a177db7f..73ed5a63761f 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.h +++ b/drivers/net/bnx2x/bnx2x_cmn.h | |||
@@ -696,7 +696,7 @@ static inline int bnx2x_alloc_rx_skb(struct bnx2x *bp, | |||
696 | * so there is no need to check for dma_mapping_error(). | 696 | * so there is no need to check for dma_mapping_error(). |
697 | */ | 697 | */ |
698 | static inline void bnx2x_reuse_rx_skb(struct bnx2x_fastpath *fp, | 698 | static inline void bnx2x_reuse_rx_skb(struct bnx2x_fastpath *fp, |
699 | struct sk_buff *skb, u16 cons, u16 prod) | 699 | u16 cons, u16 prod) |
700 | { | 700 | { |
701 | struct bnx2x *bp = fp->bp; | 701 | struct bnx2x *bp = fp->bp; |
702 | struct sw_rx_bd *cons_rx_buf = &fp->rx_buf_ring[cons]; | 702 | struct sw_rx_bd *cons_rx_buf = &fp->rx_buf_ring[cons]; |