From: Jesper Juhl Date: Fri, 12 Aug 2011 22:51:40 +0000 (+0200) Subject: drivers/staging/rtl8187se: Don't pass huge struct by value X-Git-Tag: v3.2-rc1~169^2^2~864^2~173 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74d556bc63fbf3481100be5c8de2637972cbdaeb;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed