mirror of
https://github.com/torvalds/linux.git
synced 2026-09-12 20:53:03 +02:00
mm/damon: remove trailing semicolons after function definitions
Three function definitions terminate with '};' instead of '}', which is unnecessary and inconsistent with kernel coding style: - damon_pa_initcall() in paddr.c - damon_va_initcall() in vaddr.c - damos_get_some_mem_psi_total() in core.c No functional change intended. Link: https://lore.kernel.org/20260721135333.241106-1-sj@kernel.org Signed-off-by: Xuewen Wang <wangxuewen@kylinos.cn> Reviewed-by: SJ Park <sj@kernel.org> Signed-off-by: SJ Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
613c2d5552
commit
64a853c9a6
|
|
@ -2791,7 +2791,7 @@ static u64 damos_get_some_mem_psi_total(void)
|
|||
static inline u64 damos_get_some_mem_psi_total(void)
|
||||
{
|
||||
return 0;
|
||||
};
|
||||
}
|
||||
|
||||
#endif /* CONFIG_PSI */
|
||||
|
||||
|
|
|
|||
|
|
@ -447,6 +447,6 @@ static int __init damon_pa_initcall(void)
|
|||
};
|
||||
|
||||
return damon_register_ops(&ops);
|
||||
};
|
||||
}
|
||||
|
||||
subsys_initcall(damon_pa_initcall);
|
||||
|
|
|
|||
|
|
@ -959,7 +959,7 @@ static int __init damon_va_initcall(void)
|
|||
if (err)
|
||||
return err;
|
||||
return damon_register_ops(&ops_fvaddr);
|
||||
};
|
||||
}
|
||||
|
||||
subsys_initcall(damon_va_initcall);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user