Blob Blame History Raw
From: Wan Jiabing <wanjiabing@vivo.com>
Date: Fri, 9 Apr 2021 10:46:39 +0800
Subject: [PATCH] fs: cifs: Remove repeated struct declaration
Git-commit: 5e14c7240ae9ada2b0747a57f0deb5643102f64c
Patch-mainline: v5.13-rc1
References: bsc#1192606

struct cifs_writedata is declared twice.
One is declared at 209th line.
And struct cifs_writedata is defined blew.
The declaration hear is not needed. Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Acked-by: Enzo Matsumiya <ematsumiya@suse.de>
---
 fs/cifs/cifsglob.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index aafc985e98c2..298a185e6516 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -1314,8 +1314,6 @@ struct cifs_readdata {
 	struct page			**pages;
 };
 
-struct cifs_writedata;
-
 /* asynchronous write support */
 struct cifs_writedata {
 	struct kref			refcount;
-- 
2.33.1