From patchwork Mon Dec 4 14:57:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 13478602 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C15EA28DB6; Mon, 4 Dec 2023 14:57:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kqADawyO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59177C433C7; Mon, 4 Dec 2023 14:57:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701701824; bh=QXSHxX6W+41O/OUYSiflmN0ADl66DnEAVimf+dZzOls=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=kqADawyOzx8JHyIbMjoBRqBe37+0BX8+hV35Q3/2LTmCvW/QaH8C1VfEQ7YskdalS exg6dQYvZVntDXPAQeX/xvI3qdS8SpE4Y1Lb5E7GGC6tE2HfH4YHn1sicddXqBYdyb QPsoUOSBUlkxnocGwvMtdAD7wzQE25Mbh59uxrHjoG3k7faaSdcLCBghp9rY1Gde8A btqVP0cTEJKfkEZhzcvl0ApBHIt158QyxkcnnicrfGFrnZdf43vJOYqpUpSduTig9w /bNRpWkBKUceK++oTqEMD/5WFQpp10zYvrs0v/Yl5ZPyMGKaXwxyuex9Boce/4Bk8c iYjMGOCdSfjrA== Subject: [PATCH v1 07/21] svcrdma: Remove the svc_rdma_chunk_ctxt::cc_rdma field From: Chuck Lever To: linux-nfs@vger.kernel.org, linux-rdma@vger.kernel.org Cc: tom@talpey.com Date: Mon, 04 Dec 2023 09:57:03 -0500 Message-ID: <170170182343.54779.7395369832863601805.stgit@bazille.1015granger.net> In-Reply-To: <170170144201.54779.9877683240030806819.stgit@bazille.1015granger.net> References: <170170144201.54779.9877683240030806819.stgit@bazille.1015granger.net> User-Agent: StGit/1.5 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Chuck Lever In every instance, the pointer address in that field is now available by other means. Signed-off-by: Chuck Lever --- net/sunrpc/xprtrdma/svc_rdma_rw.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/sunrpc/xprtrdma/svc_rdma_rw.c b/net/sunrpc/xprtrdma/svc_rdma_rw.c index 7676b9df024b..cfa5973c9277 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_rw.c +++ b/net/sunrpc/xprtrdma/svc_rdma_rw.c @@ -157,7 +157,6 @@ static int svc_rdma_rw_ctx_init(struct svcxprt_rdma *rdma, struct svc_rdma_chunk_ctxt { struct rpc_rdma_cid cc_cid; struct ib_cqe cc_cqe; - struct svcxprt_rdma *cc_rdma; struct list_head cc_rwctxts; ktime_t cc_posttime; int cc_sqecount; @@ -176,7 +175,6 @@ static void svc_rdma_cc_init(struct svcxprt_rdma *rdma, struct svc_rdma_chunk_ctxt *cc) { svc_rdma_cc_cid_init(rdma, &cc->cc_cid); - cc->cc_rdma = rdma; INIT_LIST_HEAD(&cc->cc_rwctxts); cc->cc_sqecount = 0;