]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: shmem: make shmem_init return void
authorMiaohe Lin <linmiaohe@huawei.com>
Thu, 14 Apr 2022 06:07:04 +0000 (23:07 -0700)
committerakpm <akpm@linux-foundation.org>
Thu, 14 Apr 2022 06:07:04 +0000 (23:07 -0700)
commit3654fa7b1245df158dfce5376ebf4123832f5efc
tree97f46906274313b972455137516c17bbbdbf110f
parent02b7cb8e11e85f895e11057a6bcd88f66006d49e
mm: shmem: make shmem_init return void

The return value of shmem_init is never used.  So we can make it return
void now.

Link: https://lkml.kernel.org/r/20220328112707.22217-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/shmem_fs.h
mm/shmem.c