From: Zhang Zekun Date: Fri, 6 Sep 2024 05:57:42 +0000 (+0800) Subject: ocfs2: remove unused declaration in header file X-Git-Tag: v6.13-rc1~89^2~70 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cedcf08f43dab0bf27e7a4e9bc82f27ccf89241d;p=thirdparty%2Fkernel%2Flinux.git ocfs2: remove unused declaration in header file The definition of ocfs2_global_read_dquot() has been removed since commit fb8dd8d78014 ("ocfs2: Fix quota locking"). Let's remove the empty declartion Link: https://lkml.kernel.org/r/20240906055742.105024-1-zhangzekun11@huawei.com Signed-off-by: Zhang Zekun Cc: Mark Fasheh Cc: Joel Becker Cc: Junxiao Bi Cc: Joseph Qi Cc: Changwei Ge Cc: Jun Piao Signed-off-by: Andrew Morton --- diff --git a/fs/ocfs2/quota.h b/fs/ocfs2/quota.h index ebb5c99f490ef..788a8de922a43 100644 --- a/fs/ocfs2/quota.h +++ b/fs/ocfs2/quota.h @@ -97,7 +97,6 @@ ssize_t ocfs2_quota_write(struct super_block *sb, int type, const char *data, size_t len, loff_t off); int ocfs2_global_read_info(struct super_block *sb, int type); int ocfs2_global_write_info(struct super_block *sb, int type); -int ocfs2_global_read_dquot(struct dquot *dquot); int __ocfs2_sync_dquot(struct dquot *dquot, int freeing); static inline int ocfs2_sync_dquot(struct dquot *dquot) {