diff options
author | Yury Norov (NVIDIA) <yury.norov@gmail.com> | 2025-09-12 20:09:05 -0400 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-09-16 21:05:48 +0100 |
commit | 19dd484cd19c308e2ea763f8d31e43a7f1ab6141 (patch) | |
tree | ad2a8314bcc0ebdfc2a89cf3e32edb72c3c9580b /lib/pm-notifier-error-inject.c | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) |
arm64/fpsimd: simplify sme_setup()
The function checks info->vq_map for emptiness right before calling
find_last_bit().
We can use the find_last_bit() output and save on bitmap_empty() call,
which is O(N).
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions