fs: cifs: Remove unnecessary struct declaration
authorWan Jiabing <wanjiabing@vivo.com>
Thu, 1 Apr 2021 07:51:17 +0000 (15:51 +0800)
committerSteve French <stfrench@microsoft.com>
Thu, 8 Apr 2021 02:30:27 +0000 (21:30 -0500)
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>
fs/cifs/cifsglob.h

index 67c056a..ec824ab 100644 (file)
@@ -1283,8 +1283,6 @@ struct cifs_aio_ctx {
        bool                    direct_io;
 };
 
-struct cifs_readdata;
-
 /* asynchronous read support */
 struct cifs_readdata {
        struct kref                     refcount;