tg3: Make tg3_alloc_rx_skb() a dst-only operation
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 13 Nov 2009 13:03:43 +0000 (13:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Nov 2009 06:14:46 +0000 (22:14 -0800)
commitafc081f83c59a7cf2c025a3ed89d011b5db556eb
tree509ef4581f8be885a28a7b69a215aab835984765
parent78f90dcf184b8225a24217605c4289f1986451a3
tg3: Make tg3_alloc_rx_skb() a dst-only operation

This patch removes the source index parameter of tg3_alloc_rx_skb().  A
later patch will make it possible for the source and destination
producer rings to be different.  This patch opts to make
tg3_alloc_rx_skb() a destination-only implementation and move the code
sensitive to the difference elsewhere.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c