rt2x00: Minor optimizazion in txdone path
authorHelmut Schaa <helmut.schaa@googlemail.com>
Wed, 7 Sep 2011 18:10:02 +0000 (20:10 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Sep 2011 17:56:44 +0000 (13:56 -0400)
commit31937c423ed3a13613b3aa7459e7405dd428f2d8
treeb8507dc88383c809e0521006791ee343e618d97c
parent4319e193271dc93241338eb0173fc26dc6c35465
rt2x00: Minor optimizazion in txdone path

We can save an indirect function call + some instructions for fetching
the actual function pointer by passing the driver specific txwi pointer
directly from rt2800pci/rt2800usb to rt2800lib instead of using the
rt2800_drv_get_txwi callback.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c
drivers/net/wireless/rt2x00/rt2800lib.h
drivers/net/wireless/rt2x00/rt2800pci.c
drivers/net/wireless/rt2x00/rt2800usb.c