summaryrefslogtreecommitdiff
path: root/mm/show_mem.c
diff options
context:
space:
mode:
authorHao Ge <gehao@kylinos.cn>2025-04-17 17:24:22 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-05-11 17:48:32 -0700
commitdf2bbc47e707c7836756159e3530266656a9ea87 (patch)
treea624a1f61d03f19f2551f17fdfb68c5b800f9d22 /mm/show_mem.c
parent1477b8cd26883a78362057954a247dab3bc5d2fb (diff)
mm/vmscan: modify the assignment logic of the scan and total_scan variables
The scan and total_scan variables can be initialized to 0 when they are defined, replacing the separate assignment statements. Link: https://lkml.kernel.org/r/20250417092422.1333620-1-hao.ge@linux.dev Signed-off-by: Hao Ge <gehao@kylinos.cn> Acked-by: Dev Jain <dev.jain@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/show_mem.c')
0 files changed, 0 insertions, 0 deletions