git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95224fe
)
mac80211: mark local variable __maybe_unused
author
Johannes Berg
<johannes.berg@intel.com>
Wed, 9 Apr 2014 19:31:13 +0000
(21:31 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 5 May 2014 14:03:42 +0000
(16:03 +0200)
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>
net/mac80211/chan.c
patch
|
blob
|
history
diff --cc
net/mac80211/chan.c
Simple merge