mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 09:20:13 -04:00
mm/damon/reclaim: ignore damon_stop() return value
damon_stop() return value is guaranteed to be 0. Ignore it. Link: https://lore.kernel.org/20260706140628.87414-6-sj@kernel.org Signed-off-by: SJ Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
@@ -332,8 +332,10 @@ static int damon_reclaim_turn(bool on)
|
||||
{
|
||||
int err;
|
||||
|
||||
if (!on)
|
||||
return damon_stop(&ctx, 1);
|
||||
if (!on) {
|
||||
damon_stop(&ctx, 1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
err = damon_reclaim_apply_parameters();
|
||||
if (err)
|
||||
|
||||
Reference in New Issue
Block a user