From: Zhao, Gang Date: Sat, 26 Apr 2014 01:43:40 +0000 (+0800) Subject: mac80211: avoid calling useless channel context code X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~12^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7df180f7f19355ba3017f6d6d74c2008b66db43d;p=pandora-kernel.git mac80211: avoid calling useless channel context code ieee80211_assign_chanctx() checks if local->use_chanctx is true, so the two code block related to ieee80211_assign_chanctx() can be moved into above if clause, emphasize that these code are executed only if local->use_chanctx is true. Signed-off-by: Zhao, Gang [change subject] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed