diff options
| author | Cheng-Han Wu <hank20010209@gmail.com> | 2026-08-31 07:57:22 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-06 17:39:14 -0700 |
| commit | 0e728fe53606ea6a725f7f27c4623b64dfa7dce8 (patch) | |
| tree | 043de9667cfbb8e6ce0ff762ec8033951a697497 /include/linux | |
| parent | 38ad91e57a5f68a57a3fa23fd49f47e128465e0e (diff) | |
mm/damon/core: remove unused damon_nr_running_ctxs()
damon_nr_running_ctxs() has had no in-tree users since commit 5ec4333b1967
("mm/damon: remove DAMON debugfs interface") removed all of its callers.
Remove the unused declaration and definition.
Link: https://lore.kernel.org/20260831145724.82387-3-sj@kernel.org
Signed-off-by: Cheng-Han Wu <hank20010209@gmail.com>
Signed-off-by: SJ Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: SJ Park <sj@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/damon.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/damon.h b/include/linux/damon.h index 89a41dea1d23..6993dca0f355 100644 --- a/include/linux/damon.h +++ b/include/linux/damon.h @@ -1065,7 +1065,6 @@ int damon_set_attrs(struct damon_ctx *ctx, struct damon_attrs *attrs); void damon_set_schemes(struct damon_ctx *ctx, struct damos **schemes, ssize_t nr_schemes); int damon_commit_ctx(struct damon_ctx *old_ctx, struct damon_ctx *new_ctx); -int damon_nr_running_ctxs(void); bool damon_is_registered_ops(enum damon_ops_id id); int damon_register_ops(struct damon_operations *ops); int damon_select_ops(struct damon_ctx *ctx, enum damon_ops_id id); |
