]> git.baikalelectronics.ru Git - kernel.git/commit
mm: shmem: make shmem_init return void
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 29 Apr 2022 06:15:58 +0000 (23:15 -0700)
committerakpm <akpm@linux-foundation.org>
Fri, 29 Apr 2022 06:15:58 +0000 (23:15 -0700)
commita327d47e849836c902d01dbed76d8fab9506de71
treee40c74c06263e23fe42beab0af99d458c98c9ba4
parent009fe63e555328276434f6fcc45a75d07a8d4883
mm: shmem: make shmem_init return void

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

[akpm@linux-foundation.org: remove `return;' from void-returning function, per Muchun Song]
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