diff options
author | 2014-02-12 11:29:32 +0100 | |
---|---|---|
committer | 2014-02-12 11:29:32 +0100 | |
commit | 1d5e1266cf4d96660e9b01577fdf8046b076cb58 (patch) | |
tree | 6335cf6b1a78d72676f1f8609878804f75c326c9 /tools/perf/scripts/python | |
parent | mac80211_hwsim: allow creation of single-channel radios with chanctx (diff) | |
download | wireguard-linux-1d5e1266cf4d96660e9b01577fdf8046b076cb58.tar.xz wireguard-linux-1d5e1266cf4d96660e9b01577fdf8046b076cb58.zip |
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: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions