From: Zhu Yanjun <yanjun.zhu@intel.com> To: dledford@redhat.com, jgg@ziepe.ca, linux-rdma@vger.kernel.org, leonro@nvidia.com Cc: Zhu Yanjun <zyjzyj2000@gmail.com> Subject: [PATCH 1/1] RDMA/rxe: remove the unnecessary variable Date: Wed, 15 Sep 2021 03:51:28 -0400 [thread overview] Message-ID: <20210915075128.482919-1-yanjun.zhu@intel.com> (raw) From: Zhu Yanjun <zyjzyj2000@gmail.com> In the struct rxe_qp, the variable send_pkts is never used. So remove it. Signed-off-by: Zhu Yanjun <zyjzyj2000@gmail.com> --- drivers/infiniband/sw/rxe/rxe_qp.c | 2 -- drivers/infiniband/sw/rxe/rxe_verbs.h | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/infiniband/sw/rxe/rxe_qp.c b/drivers/infiniband/sw/rxe/rxe_qp.c index 1ab6af7ddb25..fa97ce9eaea3 100644 --- a/drivers/infiniband/sw/rxe/rxe_qp.c +++ b/drivers/infiniband/sw/rxe/rxe_qp.c @@ -190,8 +190,6 @@ static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, INIT_LIST_HEAD(&qp->grp_list); - skb_queue_head_init(&qp->send_pkts); - spin_lock_init(&qp->grp_lock); spin_lock_init(&qp->state_lock); diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.h b/drivers/infiniband/sw/rxe/rxe_verbs.h index ac2a2148027f..1fd53fb3a4b3 100644 --- a/drivers/infiniband/sw/rxe/rxe_verbs.h +++ b/drivers/infiniband/sw/rxe/rxe_verbs.h @@ -240,7 +240,6 @@ struct rxe_qp { struct sk_buff_head req_pkts; struct sk_buff_head resp_pkts; - struct sk_buff_head send_pkts; struct rxe_req_info req; struct rxe_comp_info comp; -- 2.27.0
next reply other threads:[~2021-09-14 15:32 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-15 7:51 Zhu Yanjun [this message] 2021-09-14 19:17 ` Jason Gunthorpe 2021-12-07 19:40 [PATCH 1/1] RDMA/rxe: Remove " yanjun.zhu 2021-12-07 18:18 ` Jason Gunthorpe
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=20210915075128.482919-1-yanjun.zhu@intel.com \ --to=yanjun.zhu@intel.com \ --cc=dledford@redhat.com \ --cc=jgg@ziepe.ca \ --cc=leonro@nvidia.com \ --cc=linux-rdma@vger.kernel.org \ --cc=zyjzyj2000@gmail.com \ --subject='Re: [PATCH 1/1] RDMA/rxe: remove the unnecessary variable' \ /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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).