]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
lib/test_hmm: drop redundant conversion to bool
authorXichao Zhao <zhao.xichao@vivo.com>
Tue, 19 Aug 2025 07:04:57 +0000 (15:04 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 13 Sep 2025 23:55:13 +0000 (16:55 -0700)
commit1aca4021f8456470fe92ba795886be0e595b927d
treea08562e0cc214a2c83b38366eaaafd3587e8cf45
parentc9615059cab5ad8aa6b96195163a7478fcef194c
lib/test_hmm: drop redundant conversion to bool

The result of integer comparison already evaluates to bool.  No need for
explicit conversion.

No functional impact.

Link: https://lkml.kernel.org/r/20250819070457.486348-1-zhao.xichao@vivo.com
Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Reviewed-by: Alistair Popple <apopple@nvidia.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/test_hmm.c