summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x/bnx2x_cmn.h
diff options
context:
space:
mode:
authorDmitry Kravkov <dmitry@broadcom.com>2010-10-06 03:29:05 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-06 14:10:38 -0700
commit749a85033ec7c5c0fa54a0023fd5d59eb5e57a20 (patch)
tree779936799fbc7e5d7c9414919882514124a68228 /drivers/net/bnx2x/bnx2x_cmn.h
parentf2e0899f0f275cc3f5e9c9726178d7d0ac19b2db (diff)
downloadblackbird-op-linux-749a85033ec7c5c0fa54a0023fd5d59eb5e57a20.tar.gz
blackbird-op-linux-749a85033ec7c5c0fa54a0023fd5d59eb5e57a20.zip
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/bnx2x_cmn.h')
-rw-r--r--drivers/net/bnx2x/bnx2x_cmn.h2
1 files changed, 1 insertions, 1 deletions
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,
* so there is no need to check for dma_mapping_error().
*/
static inline void bnx2x_reuse_rx_skb(struct bnx2x_fastpath *fp,
- struct sk_buff *skb, u16 cons, u16 prod)
+ u16 cons, u16 prod)
{
struct bnx2x *bp = fp->bp;
struct sw_rx_bd *cons_rx_buf = &fp->rx_buf_ring[cons];
OpenPOWER on IntegriCloud