Commit c095df53 authored by Johannes Berg's avatar Johannes Berg Committed by David S. Miller

[MAC80211]: kill IE parse typedef

The parse result typedef isn't needed.
Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarMichael Wu <flamingice@sourmilk.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fa5fea71
...@@ -108,11 +108,10 @@ struct ieee802_11_elems { ...@@ -108,11 +108,10 @@ struct ieee802_11_elems {
u8 wmm_param_len; u8 wmm_param_len;
}; };
typedef enum { ParseOK = 0, ParseUnknown = 1, ParseFailed = -1 } ParseRes; enum ParseRes { ParseOK = 0, ParseUnknown = 1, ParseFailed = -1 };
static enum ParseRes ieee802_11_parse_elems(u8 *start, size_t len,
static ParseRes ieee802_11_parse_elems(u8 *start, size_t len, struct ieee802_11_elems *elems)
struct ieee802_11_elems *elems)
{ {
size_t left = len; size_t left = len;
u8 *pos = start; u8 *pos = start;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment