From: Luciano Coelho Date: Wed, 18 May 2011 08:42:03 +0000 (+0300) Subject: nl80211: remove some stack variables in trigger_scan and start_sched_scan X-Git-Tag: v3.0-rc1~147^2~12^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2cd43c52aa5c676b03d575177536e05ac672c75;p=pandora-kernel.git nl80211: remove some stack variables in trigger_scan and start_sched_scan Some stack variables (name *ssid and *channel) are only used to define the size of the memory block that needs to be allocated for the request structure in the nl80211_trigger_scan() and nl80211_start_sched_scan() functions. This is unnecessary because the sizes of the actual elements in the structure can be used instead. Signed-off-by: Luciano Coelho Signed-off-by: John W. Linville --- Reading git-diff-tree failed