]> git.ipfire.org Git - thirdparty/linux.git/commit
mm/vmstat: remove unused node and zone state helpers
authorWei Yang <richard.weiyang@gmail.com>
Thu, 25 Dec 2025 21:02:13 +0000 (21:02 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Jan 2026 03:24:52 +0000 (19:24 -0800)
commita8d933dc3354bfb9db1fc0e09c289ec1778ee271
tree11a4ad0d78d2394dc63793312ebcccbc72d564cc
parent6319c4f44234c3849fdb2c3f72c45353aa428d3f
mm/vmstat: remove unused node and zone state helpers

Several helper functions for managing node and zone states have become
obsolete and no longer have any callers within the kernel.

  inc_node_state()
  inc_zone_state()
  dec_zone_state()

This commit removes the dead code.

Link: https://lkml.kernel.org/r/20251225210213.2553-1-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Joshua Hahn <joshua.hahnjy@gmail.com>
Acked-by: David Hildenbrand (Red Hat) <david@kernel.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/vmstat.h
mm/vmstat.c