commit | 33926eb7785ac7ce7d45d1ae5afb0780a4270342 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Apr 09 21:31:13 2014 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon May 05 16:03:42 2014 +0200 |
tree | 3b5952c1bc1a766e2ecd25e29b344a14a8f5268d | |
parent | 95224fe83e5e78e042c96f2c43fa9092a3bc10ef [diff] |
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 <luciano.coelho@intel.com> Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>