summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-04-09 05:46:39 +0300
committerSteve French <stfrench@microsoft.com>2021-04-26 00:28:22 +0300
commit5e14c7240ae9ada2b0747a57f0deb5643102f64c (patch)
tree45c4499bcfc981a731f3b818580eef2e2e682c1f /fs/cifs
parent443dd65d48f80057e135198ed5642e9978df01e9 (diff)
downloadlinux-5e14c7240ae9ada2b0747a57f0deb5643102f64c.tar.xz
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;