summaryrefslogtreecommitdiff
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorTaotao Chen <chentaotao@didiglobal.com>2025-03-20 18:44:00 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-04-01 15:17:10 -0700
commit7f29070f4c8599dfe7582415ef162474588fd462 (patch)
tree6c00b2c7190bb05e9f669963f24d36abe38869ac /mm/page_alloc.c
parent7fa46cdfffd29459f9ebf6ed891a4c721db06a33 (diff)
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>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions