projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa5fea7
)
[MAC80211]: kill IE parse typedef
author
Johannes Berg
<
[email protected]
>
Tue, 18 Sep 2007 21:29:21 +0000
(17:29 -0400)
committer
David S. Miller
<
[email protected]
>
Wed, 10 Oct 2007 23:52:33 +0000
(16:52 -0700)
The parse result typedef isn't needed.
Signed-off-by: Johannes Berg <
[email protected]
>
Signed-off-by: Michael Wu <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/mac80211/ieee80211_sta.c
patch
|
blob
|
history
diff --git
a/net/mac80211/ieee80211_sta.c
b/net/mac80211/ieee80211_sta.c
index 8a4f2441b59cfa29a6485d9adf4f5227a32954ad..3f0a2faf37d486c1aff8b9522b251e9ede1754c1 100644
(file)
--- 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;