summaryrefslogtreecommitdiffstats
path: root/fs/hugetlbfs
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-07-26 16:29:15 +0200
committerakpm <akpm@linux-foundation.org>2022-07-30 03:07:19 +0200
commit7ec3c362cfc4cf7aa8d29416c34d0dc0817cf9aa (patch)
treebd8eaf2dc4481cdcf454338bd6a53c21f61efd65 /fs/hugetlbfs
parenthugetlbfs: use helper macro SZ_1{K,M} (diff)
downloadlinux-7ec3c362cfc4cf7aa8d29416c34d0dc0817cf9aa.tar.xz
linux-7ec3c362cfc4cf7aa8d29416c34d0dc0817cf9aa.zip
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>
Diffstat (limited to 'fs/hugetlbfs')
-rw-r--r--fs/hugetlbfs/inode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
index 3f5870769451..f6247d588816 100644
--- a/fs/hugetlbfs/inode.c
+++ b/fs/hugetlbfs/inode.c
@@ -40,7 +40,6 @@
#include <linux/uaccess.h>
#include <linux/sched/mm.h>
-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;