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:
361c3e0
)
mac80211: simplify roc check in idle calculation
author
Johannes Berg
<johannes.berg@intel.com>
Wed, 12 Feb 2014 10:29:32 +0000
(11:29 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Wed, 12 Feb 2014 10:29:32 +0000
(11:29 +0100)
There's no need to start iterating the list only to break on the
first item, just use !list_empty() and also simplify the whole
conditional into a single expression.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c
patch
|
blob
|
history
diff --cc
net/mac80211/iface.c
Simple merge