kho: remove unnecessary WARN_ON(err) in kho_populate()
authorRan Xiaokai <ran.xiaokai@zte.com.cn>
Thu, 12 Feb 2026 11:11:46 +0000 (11:11 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 12 Feb 2026 23:45:58 +0000 (15:45 -0800)
commitf7a553b813f85a5a39e1123c7a588a3d383877ab
treee393b7de872e0abdf8158f70c01577fb31e1d8e5
parent34df6c4734db4765d6ec2b0f0b61d4aec4a8f345
kho: remove unnecessary WARN_ON(err) in kho_populate()

The following pr_warn() provides detailed error and location information,
WARN_ON(err) adds no additional debugging value, so remove the redundant
WARN_ON() call.

Link: https://lkml.kernel.org/r/20260212111146.210086-3-ranxiaokai627@163.com
Signed-off-by: Ran Xiaokai <ran.xiaokai@zte.com.cn>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Cc: Alexander Graf <graf@amazon.com>
Cc: Mike Rapoport <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/liveupdate/kexec_handover.c