linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* 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

only message in thread, other threads:[~2025-03-20 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Z9vxcPCw8tDsjKw1@OneApple>
2025-03-20 17:00 ` [PATCH] mm/damon/core: simplify control flow in damon_register_ops() SeongJae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox