]> git.baikalelectronics.ru Git - kernel.git/commit
shmem: remove unneeded function forward declaration
authorMiaohe Lin <linmiaohe@huawei.com>
Thu, 2 Sep 2021 21:54:12 +0000 (14:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Sep 2021 16:58:11 +0000 (09:58 -0700)
commit45c5c81d2758e01f68316e79809d6c2332e3a947
tree39ee3da0f70f476af40a7da9f0917621472050f4
parent494a67d29d6215a91c6becd24453ea6f2cfdf387
shmem: remove unneeded function forward declaration

The forward declaration for shmem_should_replace_page() and
shmem_replace_page() is unnecessary.  Remove them.

Link: https://lkml.kernel.org/r/20210812120350.49801-4-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/shmem.c