summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2025-05-04 13:26:29 +0300
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>2025-05-07 06:08:01 +0300
commitd6bf0778f7e16148d90397f1b21389a47656d4d4 (patch)
tree9df16d561d6cbd6272556bab4d201855431fdb05 /tools/perf/scripts
parent5f585528ff6a29cc98225acfe2cd58107ddcff48 (diff)
downloadlinux-d6bf0778f7e16148d90397f1b21389a47656d4d4.tar.gz
linux-d6bf0778f7e16148d90397f1b21389a47656d4d4.zip
wifi: iwlwifi: tests: simplify devinfo_no_trans_cfg_dups()
There's no need to build a list of individual configs first and then compare them, we can just go through all of them and compare if the pointers aren't the same. The complexity (in terms of number of comparisons) is a bit higher that way, but it's just a test and the code complexity is much lower without that. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250504132447.85911c59d96a.I540f464229da3566d1726dfb61b46002fbb73bde@changeid
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions