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>
This commit is contained in:
Yury Norov (NVIDIA) 2025-09-12 20:09:05 -04:00 • committed by Will Deacon
commit 19dd484cd1