From: Miaohe Lin Date: Tue, 26 Jul 2022 14:29:15 +0000 (+0800) Subject: hugetlbfs: remove unneeded hugetlbfs_ops forward declaration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7ec3c362cfc4cf7aa8d29416c34d0dc0817cf9aa;p=linux.git 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 Reviewed-by: Mike Kravetz Reviewed-by: Muchun Song Signed-off-by: Andrew Morton --- diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 3f58707694510..f6247d588816c 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c @@ -40,7 +40,6 @@ #include #include -static const struct super_operations hugetlbfs_ops; static const struct address_space_operations hugetlbfs_aops; const struct file_operations hugetlbfs_file_operations; static const struct inode_operations hugetlbfs_dir_inode_operations;