Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2364372rwb; Sat, 29 Jul 2023 05:37:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlEqwa6oHErdgF2bgn73OK4Ecg5wvYcDa79r0O63ISVohJSrBV3t7v7hmkjPZ1ByC57+n6zO X-Received: by 2002:a05:6a00:170a:b0:66a:2771:6c4d with SMTP id h10-20020a056a00170a00b0066a27716c4dmr5826796pfc.4.1690634243846; Sat, 29 Jul 2023 05:37:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690634243; cv=none; d=google.com; s=arc-20160816; b=I3LQK7tPLr3qVxzHR9w6tWnVvJM5dKZucAL/f/22A5jwt4YAubFAArb4SnJqeDWF4T 0Az0nBU+Zmg7wK0gd7gd7fwvC1jDiOst+veOmNwKGbhA1KVSfvMzoCtzcVgo3JBRSXDO ceSmsk58qkD3GSGU1LvHC0JjTqViKMaMkpybzirKvPMyeviNqXogCtrp1LIKGpneOyQW gIwdPlEAiJMDUR8g/YwL+0Ay0DERIvsn+7sLywY9KJWyDZDuqkLE0vqjWLGkTGSzWA2o 981qBgVLDxfW1qmfnfl/7VUvKWcr0rpQzHGmB0kQrmje2sAfqjq0xwgGNtN9U4Rqaodb ztDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=LoZK6NJgfKkEy+Vx1eXIVN5eA8xo4qcjtEqGKktOc84=; fh=3RZFEoSaw34JhByarPdEk5jsHFT7pqul4WUbZV2NCUI=; b=wfm7qGk/KGcmmW5Xel3UtunVn52komGb9kemVSPj/yGXIXWfQXI5MAA75Ak5/ivE8X q1pC5o/xS7StVDkzD7hIpxSmoKTvNY6tU/iIN/UlePhfwRXHhIEhfjF0eLSp9ADn3sT3 qnoUhhwetYP+wUheAcrqakRwUrTcqK/W3yXQRM/CUGXcp29BoEB0I6r8SKivYMcRTJ5t d/tGHgeHcy1sBm+KH+WM1ji2ULj02N4xyQfHaOQeknWl+E1Y9h5ktSC0G77AOdADmIGc urSlsTXDak7e0eTtWoH0AOiduDb6Yd5+mSLglx6XqqpesMm1d3cHuWwqSig6wXgGmHvG /GcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c186-20020a621cc3000000b006765f19e46bsi4201962pfc.147.2023.07.29.05.37.02; Sat, 29 Jul 2023 05:37:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231515AbjG2Mcd (ORCPT + 99 others); Sat, 29 Jul 2023 08:32:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjG2Mcd (ORCPT ); Sat, 29 Jul 2023 08:32:33 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 209F32D71; Sat, 29 Jul 2023 05:32:32 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RCkPR2Nh9zVjf7; Sat, 29 Jul 2023 20:30:51 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Sat, 29 Jul 2023 20:32:29 +0800 From: Yue Haibing To: , , , , , , , , , , , CC: , , , Yue Haibing Subject: [PATCH net-next] xprtrdma: Remove unused function declaration rpcrdma_bc_post_recv() Date: Sat, 29 Jul 2023 20:31:52 +0800 Message-ID: <20230729123152.35132-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org rpcrdma_bc_post_recv() is never implemented since introduction in commit f531a5dbc451 ("xprtrdma: Pre-allocate backward rpc_rqst and send/receive buffers"). Signed-off-by: Yue Haibing --- 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 5e5ff6784ef5..da409450dfc0 100644 --- a/net/sunrpc/xprtrdma/xprt_rdma.h +++ b/net/sunrpc/xprtrdma/xprt_rdma.h @@ -593,7 +593,6 @@ void xprt_rdma_cleanup(void); int xprt_rdma_bc_setup(struct rpc_xprt *, unsigned int); size_t xprt_rdma_bc_maxpayload(struct rpc_xprt *); unsigned int xprt_rdma_bc_max_slots(struct rpc_xprt *); -int rpcrdma_bc_post_recv(struct rpcrdma_xprt *, unsigned int); void rpcrdma_bc_receive_call(struct rpcrdma_xprt *, struct rpcrdma_rep *); int xprt_rdma_bc_send_reply(struct rpc_rqst *rqst); void xprt_rdma_bc_free_rqst(struct rpc_rqst *); -- 2.34.1