]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Move duplicate code into rt2x00pci_txdone()
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 12 Nov 2007 14:02:40 +0000 (15:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:04:40 +0000 (15:04 -0800)
commit440f6c4e7a69a89325a1c904717575e06270c813
treebf579438b2f8e0d81160059e16eae97aa1254b77
parent621ec29ef14c13118b8d39699fe9d9008470093b
rt2x00: Move duplicate code into rt2x00pci_txdone()

rt2400pci, rt2500pci and rt61 require different
txdone handling, but the code that pushes the frame
upstream and cleans up the entry is identical to
all of them.
This will create the function rt2x00pci_txdone()
to remove the duplicate code.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2400pci.c
drivers/net/wireless/rt2x00/rt2500pci.c
drivers/net/wireless/rt2x00/rt2x00pci.c
drivers/net/wireless/rt2x00/rt2x00pci.h
drivers/net/wireless/rt2x00/rt61pci.c