[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>
This commit is contained in:
Johannes Berg 2007-09-18 17:29:21 -04:00 committed by David S. Miller
parent fa5fea711f
commit c095df531f

View 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;