Skip to content

Commit 7ec3c36

Browse files
MiaoheLinakpm00
authored andcommitted
hugetlbfs: remove unneeded hugetlbfs_ops forward declaration
The forward declaration for hugetlbfs_ops is unnecessary. Remove it. Link: https://lkml.kernel.org/r/20220726142918.51693-3-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent d003651 commit 7ec3c36

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/hugetlbfs/inode.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#include <linux/uaccess.h>
4141
#include <linux/sched/mm.h>
4242

43-
static const struct super_operations hugetlbfs_ops;
4443
static const struct address_space_operations hugetlbfs_aops;
4544
const struct file_operations hugetlbfs_file_operations;
4645
static const struct inode_operations hugetlbfs_dir_inode_operations;

0 commit comments

Comments
 (0)