diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-06-20 22:10:53 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-27 15:09:17 +0200 |
commit | 61243d8e79de67d703b192fae2c4ab80fc0fac34 (patch) | |
tree | 86dfc875e2426ffe46b1c641c6c00e7c6140d08d /net/mac80211 | |
parent | b43: Add debugfs firmware debugging knob (diff) | |
download | linux-61243d8e79de67d703b192fae2c4ab80fc0fac34.tar.xz linux-61243d8e79de67d703b192fae2c4ab80fc0fac34.zip |
rt2x00: Remove duplicate deinitialization
When rt2x00queue_alloc_rxskbs() fails rt2x00queue_unitialize()
will be called which will free all rxskb. So we don't need
to do this in the rt2x00queue_alloc_rxskb() function as well.
rt2x00queue_free_skb() unmaps the DMA but doesn't clear the
allocation flag. Since the code is copied from rt2x00queue_unmap_skb()
anyway (and that function does clear the flag) we might as well
use that function directly.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions