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>
Loading
Please sign in to comment