aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-04-09 10:46:39 +0800
committerSteve French <stfrench@microsoft.com>2021-04-25 16:28:22 -0500
commit5e14c7240ae9ada2b0747a57f0deb5643102f64c (patch)
tree45c4499bcfc981a731f3b818580eef2e2e682c1f /fs/cifs/cifsglob.h
parentDocumentation/admin-guide/cifs: document open_files and dfscache (diff)
downloadlinux-dev-5e14c7240ae9ada2b0747a57f0deb5643102f64c.tar.xz
linux-dev-5e14c7240ae9ada2b0747a57f0deb5643102f64c.zip
fs: cifs: Remove repeated struct declaration
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>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h2
1 files changed, 0 insertions, 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;