mm: multi-gen LRU: remove NULL checks on NODE_DATA()
authorYu Zhao <yuzhao@google.com>
Wed, 16 Nov 2022 01:38:08 +0000 (18:38 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Nov 2022 23:59:00 +0000 (15:59 -0800)
commit931b6a8b36a2de3985eca27e758900e70cd99779
treef75fc063cd2cb9331aac3047c0f5490b40ebe04b
parentf347454d034184b4f0a2caf6e14daf7848cea01c
mm: multi-gen LRU: remove NULL checks on NODE_DATA()

NODE_DATA() is preallocated for all possible nodes after commit
09f49dca570a ("mm: handle uninitialized numa nodes gracefully").  Checking
its return value against NULL is now unnecessary.

Link: https://lkml.kernel.org/r/20221116013808.3995280-2-yuzhao@google.com
Signed-off-by: Yu Zhao <yuzhao@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c