From: Wan Jiabing Date: Thu, 1 Apr 2021 07:51:17 +0000 (+0800) Subject: fs: cifs: Remove unnecessary struct declaration X-Git-Tag: v5.15~1418^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d135be0a7fb83f4dd68721b3355fec6de686834c;p=platform%2Fkernel%2Flinux-starfive.git 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 Reviewed-by: Shyam Prasad N Signed-off-by: Steve French --- diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 67c056a..ec824ab 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;