fs: cifs: Remove unnecessary struct declaration
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- fs/cifs/cifsglob.h | 2 -- 1 file changed, 2 deletions(-)
fs/cifs/cifsglob.h +0 -2
@@ -1283,8 +1283,6 @@ struct cifs_aio_ctx {bool direct_io; }; -struct cifs_readdata ; -/* asynchronous read support */ struct cifs_readdata {struct kref refcount;
Signature · 1 line
2.25.1
Steve French
Appliedmerged into cifs-2.6.git for-next
Quoted 27 lines · Wan Jiabing
struct
cifs_readdatais declared twice. One is declared at 208th line.
And structcifs_readdatais defined blew.
The declaration here is not needed. Remove the duplicate.Signed-off-by Wan Jiabing <[email protected]>--- fs/cifs/cifsglob.h | 2 -- 1 file changed, 2 deletions(-)fs/cifs/cifsglob.h +0
-3@@ -1283,8 +1283,6 @@ struct cifs_aio_ctx {bool direct_io; }; -struct cifs_readdata ; -/* asynchronous read support */ struct cifs_readdata {struct kref refcount; --2.25.1
Signature · 3 lines
Thanks, Steve