diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-08-12 22:51:40 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-23 21:46:05 (GMT) |
commit | 74d556bc63fbf3481100be5c8de2637972cbdaeb (patch) | |
tree | 13fbfa00c04ff7c878235322844c3af379910366 /Makefile | |
parent | 93583548585048812dc05a728d182a13213a9fd2 (diff) | |
download | linux-fsl-qoriq-74d556bc63fbf3481100be5c8de2637972cbdaeb.tar.xz |
drivers/staging/rtl8187se: Don't pass huge struct by value
struct ieee80211_network is fairly large (more than half a kilobyte),
so let's pass a pointer instead of passing the entire structure by
value when ieee80211_is_54g() and ieee80211_is_shortslot() need to
look at a few members.
Also remove parentheses around the values being returned from those
two functions - 'return' is not a function.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions