]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit694244b7274e27d3fda48342e88a53cb39727686
treee6125581bc11445456236696900c2a4af767a87b
parentd040fa09b1e32fbe54a43f580a1e38e75b03544a
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