summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-04-01 10:51:17 +0300
committerSteve French <stfrench@microsoft.com>2021-04-08 05:30:27 +0300
commitd135be0a7fb83f4dd68721b3355fec6de686834c (patch)
treec6e468b1a5dc4462ee05c5ec53c7f02597e022c2 /fs/cifs
parent4e456b30f78c429b183db420e23b26cde7e03a78 (diff)
downloadlinux-d135be0a7fb83f4dd68721b3355fec6de686834c.tar.xz
fs: cifs: Remove unnecessary struct declaration
struct cifs_readdata is declared twice. One is declared at 208th line. And struct cifs_readdata is defined blew. The declaration here is not needed. Remove the duplicate. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Reviewed-by: Shyam Prasad N <sprasad@microsoft.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 67c056a9a519..ec824ab8c5ca 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -1283,8 +1283,6 @@ struct cifs_aio_ctx {
bool direct_io;
};
-struct cifs_readdata;
-
/* asynchronous read support */
struct cifs_readdata {
struct kref refcount;