Skip to content

Commit a82cf30

Browse files
sjp38akpm00
authored andcommitted
mm/damon/paddr: remove unused variable, folio_list, in damon_pa_stat()
Commit c0cb9d9 ("mm/damon/paddr: report filter-passed bytes back for DAMOS_STAT action") added unused variable in damon_pa_stat(), due to a copy-and-paste error. Remove it. Link: https://lkml.kernel.org/r/20250513002715.40126-4-sj@kernel.org Fixes: c0cb9d9 ("mm/damon/paddr: report filter-passed bytes back for DAMOS_STAT action") Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Brendan Higgins <brendan.higgins@linux.dev> Cc: David Gow <davidgow@google.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 0bac6b1 commit a82cf30

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

mm/damon/paddr.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,6 @@ static unsigned long damon_pa_stat(struct damon_region *r, struct damos *s,
548548
unsigned long *sz_filter_passed)
549549
{
550550
unsigned long addr;
551-
LIST_HEAD(folio_list);
552551
struct folio *folio;
553552

554553
if (!damon_pa_scheme_has_filter(s))

0 commit comments

Comments
 (0)