Message ID | 20210812120350.49801-4-linmiaohe@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Cleanups for shmem | expand |
diff --git a/mm/shmem.c b/mm/shmem.c index 41d2900153d9..ccef5fad0049 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -135,9 +135,6 @@ static unsigned long shmem_default_max_inodes(void) } #endif -static bool shmem_should_replace_page(struct page *page, gfp_t gfp); -static int shmem_replace_page(struct page **pagep, gfp_t gfp, - struct shmem_inode_info *info, pgoff_t index); static int shmem_swapin_page(struct inode *inode, pgoff_t index, struct page **pagep, enum sgp_type sgp, gfp_t gfp, struct vm_area_struct *vma,
The forward declaration for shmem_should_replace_page() and shmem_replace_page() is unnecessary. Remove them. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> --- mm/shmem.c | 3 --- 1 file changed, 3 deletions(-)