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)
commit3957ccb56e17ca839265ccb292c4c6850dcf5d32
treebf579438b2f8e0d81160059e16eae97aa1254b77
parent797a54c68e0eb551c60e3dc843627f967919a951
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