Commit df2bbc47 authored by Hao Ge's avatar Hao Ge Committed by Andrew Morton
Browse files

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: default avatarHao Ge <gehao@kylinos.cn>
Acked-by: default avatarDev Jain <dev.jain@arm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 1477b8cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment