From: Johannes Berg Date: Wed, 9 Apr 2014 19:31:13 +0000 (+0200) Subject: mac80211: mark local variable __maybe_unused X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~122^2^2~17^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33926eb7785ac7ce7d45d1ae5afb0780a4270342;p=pandora-kernel.git mac80211: mark local variable __maybe_unused The 'local' variable in __ieee80211_vif_copy_chanctx_to_vlans() is only used/needed when lockdep is compiled in, mark it as such to avoid compile warnings in the other case. While at it, fix some indentation where it's used. Reviewed-by: Luciano Coelho Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- Reading git-diff-tree failed