summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGou Hao <gouhao@uniontech.com>2026-07-24 10:28:50 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-08-05 11:20:13 -0700
commitf14bd29bbb1ad121cbf22939dbff6e42ef6f4b90 (patch)
tree6c156f8a8ae5458533c0facd7938ebfd7a01f865 /scripts
parentebaf75adbec33356d746ca7df36b72d31e7e5109 (diff)
downloadlinux-stable-f14bd29bbb1ad121cbf22939dbff6e42ef6f4b90.tar.gz
linux-stable-f14bd29bbb1ad121cbf22939dbff6e42ef6f4b90.zip
lib/test_hmm: remove dead NULL checks after GFP_NOFAIL allocations
kvcalloc with the __GFP_NOFAIL flag will never return NULL, so the subsequent NULL checks are unreachable dead code. Remove them. Link: https://lore.kernel.org/20260724022851.466017-6-gouhao@uniontech.com Signed-off-by: Gou Hao <gouhao@uniontech.com> Reviewed-by: Alistair Popple <apopple@nvidia.com> Cc: Bharat Potnuri <bharat@chelsio.com> Cc: Cédric Le Goater <clg@kaod.org> Cc: Dave Airlie <airlied@gmail.com> Cc: Jason Gunthorpe <jgg@ziepe.ca> Cc: jiazhenyuan <jiazhenyuan@uniontech.com> Cc: Leon Romanovsky <leon@kernel.org> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Madhavan Srinivasan <maddy@linux.ibm.com> Cc: Maxime Ripard <mripard@kernel.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Nam Cao <namcao@linutronix.de> Cc: Nicholas Piggin <npiggin@gmail.com> Cc: Nilay Shroff <nilay@linux.ibm.com> Cc: Shrikanth Hegde <sshegde@linux.ibm.com> Cc: Thomas Zimemrmann <tzimmermann@suse.de> Cc: Wentao Guan <guanwentao@uniontech.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions