diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-04-17 21:21:22 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-07 23:02:11 +0400 |
commit | 988c0f723d0b1abb399e6e71d8bf3f8bf1949a70 (patch) | |
tree | eaa584d3c0c9982cd94063f41afb0cafae35664b /net/mac80211/iface.c | |
parent | 1c014420583564ac09e3b67006f2e7050861e66b (diff) | |
download | linux-988c0f723d0b1abb399e6e71d8bf3f8bf1949a70.tar.xz |
mac80211: a few code cleanups
This has some code cleanups (some inspired by checkpatch), I got
bored at probably a third of the output though so if somebody
else wants to...
Signed-off-by: Johannes Berg <johannes@sipsolutions.net
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r-- | net/mac80211/iface.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 80954a512185..f41c7e0de622 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c @@ -33,9 +33,8 @@ static void ieee80211_if_sdata_deinit(struct ieee80211_sub_if_data *sdata) { int i; - for (i = 0; i < IEEE80211_FRAGMENT_MAX; i++) { + for (i = 0; i < IEEE80211_FRAGMENT_MAX; i++) __skb_queue_purge(&sdata->fragments[i].skb_list); - } } /* Must be called with rtnl lock held. */ |