The parse result typedef isn't needed. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- net/mac80211/ieee80211_sta.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) --- wireless-dev.orig/net/mac80211/ieee80211_sta.c 2007-09-06 01:35:21.734453431 +0200 +++ wireless-dev/net/mac80211/ieee80211_sta.c 2007-09-06 01:35:29.454453431 +0200 @@ -117,11 +117,10 @@ struct ieee802_11_elems { u8 tspec_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; -- - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html