Skip to content
Snippets Groups Projects
Commit 1d5e1266 authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: simplify roc check in idle calculation


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: default avatarJohannes Berg <johannes.berg@intel.com>
parent 361c3e04
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment