All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chuck Lever III <chuck.lever@oracle.com>
To: Wan Jiabing <wanjiabing@vivo.com>,
	Anna Schumaker <anna.schumaker@netapp.com>
Cc: Bruce Fields <bfields@fieldses.org>,
	Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
	"kael_w@yeah.net" <kael_w@yeah.net>
Subject: Re: [PATCH] sunrpc: xprtrdma: Remove repeated struct declaration
Date: Thu, 1 Apr 2021 13:32:47 +0000	[thread overview]
Message-ID: <82C3737A-E6CA-469E-B159-85DBE3657221@oracle.com> (raw)
In-Reply-To: <20210401095658.1006341-1-wanjiabing@vivo.com>

Hi -

> On Apr 1, 2021, at 5:56 AM, Wan Jiabing <wanjiabing@vivo.com> wrote:
> 
> struct rpcrdma_req is declared twice. One is declared at 216th line.
> The blew one is not needed. Remove the duplicate.

s/blew/below/

> 
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>

Reviewed-by: Chuck Lever <chuck.lever@oracle.com>

Thanks! This one goes to Anna.


> ---
> net/sunrpc/xprtrdma/xprt_rdma.h | 1 -
> 1 file changed, 1 deletion(-)
> 
> diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h
> index fe3be985e239..11e5fbfc642c 100644
> --- a/net/sunrpc/xprtrdma/xprt_rdma.h
> +++ b/net/sunrpc/xprtrdma/xprt_rdma.h
> @@ -239,7 +239,6 @@ struct rpcrdma_frwr {
> 	};
> };
> 
> -struct rpcrdma_req;
> struct rpcrdma_mr {
> 	struct list_head	mr_list;
> 	struct rpcrdma_req	*mr_req;
> -- 
> 2.25.1
> 

--
Chuck Lever




  reply	other threads:[~2021-04-01 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-01  9:56 [PATCH] sunrpc: xprtrdma: Remove repeated struct declaration Wan Jiabing
2021-04-01 13:32 ` Chuck Lever III [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-01  9:31 Wan Jiabing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82C3737A-E6CA-469E-B159-85DBE3657221@oracle.com \
    --to=chuck.lever@oracle.com \
    --cc=anna.schumaker@netapp.com \
    --cc=bfields@fieldses.org \
    --cc=kael_w@yeah.net \
    --cc=linux-nfs@vger.kernel.org \
    --cc=wanjiabing@vivo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.