summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-09-18 23:29:21 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 01:52:33 +0200
commitc095df531f3ab9699b031e220c0da76d6407b157 (patch)
tree2d51ad3003a5613ab91e1c1ffb7db6a510e5fe83 /net
parent[MAC80211]: rename ieee80211_cfg.c to cfg.c (diff)
downloadlinux-c095df531f3ab9699b031e220c0da76d6407b157.tar.xz
linux-c095df531f3ab9699b031e220c0da76d6407b157.zip
[MAC80211]: kill IE parse typedef
The parse result typedef isn't needed. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Michael Wu <flamingice@sourmilk.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/ieee80211_sta.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index 8a4f2441b59c..3f0a2faf37d4 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/net/mac80211/ieee80211_sta.c
@@ -108,11 +108,10 @@ struct ieee802_11_elems {
u8 wmm_param_len;
};
-typedef enum { ParseOK = 0, ParseUnknown = 1, ParseFailed = -1 } ParseRes;
+enum ParseRes { ParseOK = 0, ParseUnknown = 1, ParseFailed = -1 };
-
-static ParseRes ieee802_11_parse_elems(u8 *start, size_t len,
- struct ieee802_11_elems *elems)
+static enum ParseRes ieee802_11_parse_elems(u8 *start, size_t len,
+ struct ieee802_11_elems *elems)
{
size_t left = len;
u8 *pos = start;