mm/damon: return void from damon_set_schemes()
mainline inclusion from mainline-v6.2-rc6 commit cc713520 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I6MRUG Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc713520bdc1b84fc5394f6ac8649b93ad2c5dde -------------------------------- There is no point in returning an int from damon_set_schemes(). It always returns 0 which is meaningless for the caller, so change it to return void directly. Link: https://lkml.kernel.org/r/1663341635-12675-1-git-send-email-kaixuxia@tencent.com Signed-off-by:Kaixu Xia <kaixuxia@tencent.com> Reviewed-by:
SeongJae Park <sj@kernel.org> Reviewed-by:
Muchun Song <songmuchun@bytedance.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Ze Zuo <zuoze1@huawei.com>
Loading
Please sign in to comment