diff options
| author | Enze Li <lienze@kylinos.cn> | 2026-07-18 08:21:25 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-08-06 18:57:18 -0700 |
| commit | a43ea999c56ab9c40f555d4387a096637e6d19ff (patch) | |
| tree | c48084aa78ab1df737217645a2aa55cbf9b0d00f /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 488cf81c49955f83b7682dda880e9920c173e617 (diff) | |
mm/damon/ops-common: remove redundant local variable in damon_migrate_folio_list()
In damon_migrate_folio_list(), we're redeclaring folio inside the first
while loop, but it just shadows the outer one. Since the second loop uses
the outer folio anyway, the inner declaration is pointless.
Remove it to consistently reuse the same variable throughout the
function and improve readability.
Link: https://lore.kernel.org/20260718002125.637104-1-lienze@kylinos.cn
Signed-off-by: Enze Li <lienze@kylinos.cn>
Reviewed-by: SJ Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
