[MAC80211]: kill IE parse typedef
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 18 Sep 2007 21:29:21 +0000 (17:29 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:33 +0000 (16:52 -0700)
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>
net/mac80211/ieee80211_sta.c

index 8a4f2441b59cfa29a6485d9adf4f5227a32954ad..3f0a2faf37d486c1aff8b9522b251e9ede1754c1 100644 (file)
@@ -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;