[PATCH 0/2] mm/damon/core: remove unused helper functions
From: Cheng-Han Wu
Date: Wed Jul 22 2026 - 07:40:22 EST
Both damon_targets_empty() and damon_nr_running_ctxs() have had no
in-tree users since commit 5ec4333b1967 ("mm/damon: remove DAMON
debugfs interface") removed their remaining callers.
Remove the unused declarations and definitions.
Tested with:
make O=../linux-build-mm W=1 mm/damon
Cheng-Han Wu (2):
mm/damon/core: remove unused damon_targets_empty()
mm/damon/core: remove unused damon_nr_running_ctxs()
include/linux/damon.h | 2 --
mm/damon/core.c | 19 -------------------
2 files changed, 21 deletions(-)
base-commit: 5e0603ba185af6754422ad28b646798686b6caf6
--
2.52.0