Re: [PATCH v2] mm/damon/dbgfs: remove unnecessary variables

From: SeongJae Park
Date: Thu Oct 14 2021 - 03:22:09 EST


On Thu, 14 Oct 2021 10:03:33 +0800 Rongwei Wang <rongwei.wang@xxxxxxxxxxxxxxxxx> wrote:

> In some functions, it's unnecessary to declare 'err'
> and 'ret' variables at the same time. This patch mainly
> to simplify the issue of such declarations by reusing
> one variable.
>
> Signed-off-by: Rongwei Wang <rongwei.wang@xxxxxxxxxxxxxxxxx>

Looks good to me. However, this doesn't cleanly applicable on latest -mm tree.
I will post a rebased version as a reply to this.


Thanks,
SJ

[...]