Skip to content

mm/damon/core: remove unused helper functions

Cheng-Han Wu damon linux-kernel-mentees linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm/damon/core: remove unused damon_targets_empty()include/linux/damon.h mm/damon/core.c+0 -61 reply
2/2mm/damon/core: remove unused damon_nr_running_ctxs()include/linux/damon.h mm/damon/core.c+0 -151 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSJ Park
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] mm/damon/core: remove unused helper functions

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

Signature · 1 line
2.52.0