]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm-shmem-make-shmem_init-return-void-fix
authorAndrew Morton <akpm@linux-foundation.org>
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)
remove `return;' from void-returning function, per Muchun Song

Cc: Hugh Dickins <hughd@google.com>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/shmem.c

index bf7b1ca35c994e5896910af912316d86f33151da..913c0b039333757e473c3858a5903e6134c7ba77 100644 (file)
@@ -4004,8 +4004,6 @@ void __init shmem_init(void)
 
        shm_mnt = kern_mount(&shmem_fs_type);
        BUG_ON(IS_ERR(shm_mnt));
-
-       return;
 }
 
 int shmem_unuse(unsigned int type)