]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
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>
Tue, 13 Apr 2021 04:54:43 +0000 (23:54 -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 59a6def5815fa39024d87639256e6c4ae8277ed3..6cc54a1d43363c758f7d9c7acbd5ad63c9b67516 100644 (file)
@@ -1314,8 +1314,6 @@ struct cifs_readdata {
        struct page                     **pages;
 };
 
-struct cifs_writedata;
-
 /* asynchronous write support */
 struct cifs_writedata {
        struct kref                     refcount;