Taotao Chen 7f29070f4c mm/damon/core: simplify control flow in damon_register_ops()
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.

Link: https://lkml.kernel.org/r/Z9vxcPCw8tDsjKw1@OneApple
Signed-off-by: Taotao Chen <chentaotao@didiglobal.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-04-01 15:17:10 -07:00
..
2025-03-17 22:07:05 -07:00
2025-03-17 22:06:39 -07:00
2025-03-17 22:06:39 -07:00
2025-01-13 22:40:51 -08:00
2025-01-27 19:25:45 -05:00
2025-03-25 10:54:15 -07:00
2025-03-26 21:02:05 -07:00
2025-03-16 22:06:21 -07:00
2025-03-16 22:06:21 -07:00