mv643xx_eth: inline txq_alloc_desc_index()
authorLennert Buytenhek <buytenh@marvell.com>
Thu, 20 Nov 2008 11:58:09 +0000 (03:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2008 11:58:09 +0000 (03:58 -0800)
commit66823b928d746df21485deeff6744c77702abf29
treee6125581bc11445456236696900c2a4af767a87b
parent37a6084f4b4693a408ac2fb229843af9f9f301ce
mv643xx_eth: inline txq_alloc_desc_index()

Since txq_alloc_desc_index() is a very simple function, and since
descriptor ring index handling for transmit reclaim, receive
processing and receive refill is already handled inline as well,
inline txq_alloc_desc_index() into its two call sites.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mv643xx_eth.c