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/[email protected] Fixes: c0cb9d9 ("mm/damon/paddr: report filter-passed bytes back for DAMOS_STAT action") Signed-off-by: SeongJae Park <[email protected]> Cc: Brendan Higgins <[email protected]> Cc: David Gow <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 0bac6b1 commit a82cf30

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)