rt2x00: Optimize unmapping of skbs
authorHelmut Schaa <helmut.schaa@googlemail.com>
Sat, 9 Oct 2010 11:33:43 +0000 (13:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Oct 2010 19:04:21 +0000 (15:04 -0400)
commit546adf294e85ca0dcd9c052294ef35b83a6ab2f4
tree5a5dd90fbd94201a88cb42f7cd5ebabe0b0646a9
parenta23c22080345f1748a933f32736986ff11f44d60
rt2x00: Optimize unmapping of skbs

Since no skb will be mapped for RX and TX at the same time we can
simply shortcut the check for SKBDESC_DMA_MAPPED_TX.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00queue.c