[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20250320170011.42114-1-sj@kernel.org>
Date: Thu, 20 Mar 2025 10:00:11 -0700
From: SeongJae Park <sj@...nel.org>
To: Taotao Chen <chentaotao@...iglobal.com>
Cc: SeongJae Park <sj@...nel.org>,
akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org,
damon@...ts.linux.dev,
linux-mm@...ck.org
Subject: Re: [PATCH] mm/damon/core: simplify control flow in damon_register_ops()
+ damon@ and linux-mm@ mailing lists.
Hello Taotao,
On Thu, 20 Mar 2025 18:44:00 +0800 Taotao Chen <chentaotao@...iglobal.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@...iglobal.com>
Reviewed-by: SeongJae Park <sj@...nel.org>
Thanks,
SJ
[...]
Powered by blists - more mailing lists