* Re: [PATCH] mm/damon/core: simplify control flow in damon_register_ops()
[not found] <Z9vxcPCw8tDsjKw1@OneApple>
@ 2025-03-20 17:00 ` SeongJae Park
0 siblings, 0 replies; only message in thread
From: SeongJae Park @ 2025-03-20 17:00 UTC (permalink / raw)
To: Taotao Chen; +Cc: SeongJae Park, akpm, linux-kernel, damon, linux-mm
+ damon@ and linux-mm@ mailing lists.
Hello Taotao,
On Thu, 20 Mar 2025 18:44:00 +0800 Taotao Chen <chentaotao@didiglobal.com> wrote:
> The function logic is not complex, so using goto is unnecessary.
> Replace it with a straightforward if-else to simplify control flow
> and improve readability.
Good catch and nice cleanup, thank you!
>
> Signed-off-by: Taotao Chen <chentaotao@didiglobal.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] only message in thread