From patchwork Sat Jul 29 12:31:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 128127 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp1037887vqg; Sat, 29 Jul 2023 06:45:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlHDNI5TbnKPAFyyliqS84owI5inxymfMhoj9jJEKzg0a989VKzt9TOMAzopQoTdnUguo3/l X-Received: by 2002:a05:6a21:35c9:b0:131:5995:340 with SMTP id ba9-20020a056a2135c900b0013159950340mr4702497pzc.20.1690638327640; Sat, 29 Jul 2023 06:45:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690638327; cv=none; d=google.com; s=arc-20160816; b=ymWjCYxWDuOhLTXo5omITtbaVycFJxfVNjRGpWRYoncgHv5eLLD6ShGJEQwSR34Mdt RwoY7VrHD7rRthhiaW5qlxyDjbdudyxGnnkp3yWW1puVR/g6cg8f3H2CboyrkZB0mWLg Szc6cB4cO4yG10R66LFEf7rV/ZaUHOxS77xgdksiJbb+v6BqGPadpajjD3B9GjWOtoro ki/IkLLU/FivIu2vuAflyWxUnKTUza4z6Wk2hF0+Tcta0QIV7yKhFYa529ZeMrLQaI7D We/pxJ+aRvQhvQ8CC/ySDmoFwUWp17jA5wfycxcNkCrUmz7OwyVUmrmd4wtG1uo36ckN OEug== 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=gWtHA2HwtSLPK7+JgDJJDpHNNIkY3ZGwtaGMTTY+gxkiIKXDJhGEVwo399aZ7jhRQr hgN3ZwdL1YsoAnvtSZJPtiUmJd/mqujHyJqxm/p2ELy2keN6aq0pks6I/7D0mEjmqDl8 wXtnjiIGibCNFVu2RiW34E2I0wcAfWcxNT3KM7KBciKCBzGgOXhhkVOfeclP72XQn1tl pbDF1L8Hkv0aXJL2ekQjcKRAwp1EWRI2zI0Wz69bok05/wdBnzBWoErRBbgPryAHyrAy 1ICUkQSzKpvnimrI2LSUo4p2fGf1mRa8+40GPNafn2UxN8SOKNw5qjInNqlRp1Xi7z/R Ps4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fb34-20020a056a002da200b0066886c86747si2796285pfb.310.2023.07.29.06.45.12; Sat, 29 Jul 2023 06:45:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S231566AbjG2Mce (ORCPT + 99 others); Sat, 29 Jul 2023 08:32:34 -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 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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772762774882710928 X-GMAIL-MSGID: 1772762774882710928 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 Reviewed-by: Chuck Lever --- 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 *);