Skip to content

Commit

Permalink
[PATCH] git-netdev-all-ieee80211_get_payload-warning-fix
Browse files Browse the repository at this point in the history
include/net/ieee80211.h: In function `ieee80211_get_payload':
include/net/ieee80211.h:1046: warning: control reaches end of non-void function

Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
Andrew Morton authored and Jeff Garzik committed Nov 18, 2005
1 parent c5b42f3 commit cea00da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/ieee80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ static inline u8 *ieee80211_get_payload(struct ieee80211_hdr *hdr)
case IEEE80211_4ADDR_LEN:
return ((struct ieee80211_hdr_4addr *)hdr)->payload;
}

return NULL;
}

static inline int ieee80211_is_ofdm_rate(u8 rate)
Expand Down

0 comments on commit cea00da

Please sign in to comment.