summaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-04-09 04:46:39 +0200
committerSteve French <stfrench@microsoft.com>2021-04-25 23:28:22 +0200
commit5e14c7240ae9ada2b0747a57f0deb5643102f64c (patch)
tree45c4499bcfc981a731f3b818580eef2e2e682c1f /fs/cifs
parentDocumentation/admin-guide/cifs: document open_files and dfscache (diff)
downloadlinux-5e14c7240ae9ada2b0747a57f0deb5643102f64c.tar.xz
linux-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')
-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;