fs: cifs: Remove repeated struct declaration
authorWan Jiabing <wanjiabing@vivo.com>
Fri, 9 Apr 2021 02:46:39 +0000 (10:46 +0800)
committerSteve French <stfrench@microsoft.com>
Sun, 25 Apr 2021 21:28:22 +0000 (16:28 -0500)
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>
fs/cifs/cifsglob.h

index aafc985e98c2244161bd87bf49d98cb77c36f429..298a185e6516af832768fd0288893bce641789d6 100644 (file)
@@ -1314,8 +1314,6 @@ struct cifs_readdata {
        struct page                     **pages;
 };
 
-struct cifs_writedata;
-
 /* asynchronous write support */
 struct cifs_writedata {
        struct kref                     refcount;