From patchwork Tue Dec 5 23:17:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10094097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 12DB860329 for ; Tue, 5 Dec 2017 23:17:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05A4A28334 for ; Tue, 5 Dec 2017 23:17:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EEF1928535; Tue, 5 Dec 2017 23:17:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9ACB928334 for ; Tue, 5 Dec 2017 23:17:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752955AbdLEXRj (ORCPT ); Tue, 5 Dec 2017 18:17:39 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:32847 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752840AbdLEXRh (ORCPT ); Tue, 5 Dec 2017 18:17:37 -0500 Received: by mail-wr0-f196.google.com with SMTP id v22so2044136wrb.0 for ; Tue, 05 Dec 2017 15:17:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=c5CfRMIqF6aonfPse55lBJNs5O2hWapAd7RCQbfqw5g=; b=pU2BR61YiS6kODFFYmxl+/xuymTvXaIF8qYIRmOycB2IoLQ7QII7YBAVz9X8Q+6qsj mEurzqoUJ4ZHUFN4Q9bOiIKOIaCTbvtS1AHCYZn3Z5YVx4Bwt+u9g3cQ9R5F/zmDODyJ HrC1a0QRKauAcrclu9qNqYXuBEy2jgUvBUCyguWeqkngt7ahn1MPrwip8t3xtfKwNN28 2q2Rlrng30auaSU/Xowzx3uH2FQAU8gbVfiXfSA7quzjjChwj4gqaAUwrA6G2Qre43z+ AVRf/D1u13cO9tn645CIBuk268tB+ENxqZKOwws7X8hZ0UPFoRk5ZzZRRjoQrsKtcm+o VyAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=c5CfRMIqF6aonfPse55lBJNs5O2hWapAd7RCQbfqw5g=; b=agvjPCRL7KaOp7cY55fU0KWhF4LKDetIF7rMwAVEaqkypVgflog645Er/o86sSSYH+ frTypofwY5xv+pISVShtaopAcVOfVBf2MMRRWq/Zv43wlPl8rH5AqIzjpBnSH5zpFlTE Yyw3WL/NJWkfKoj6b72GeXfZfmNnQXSKB/FbbGnOaUigg3g4nFZoRFL0sOgmWJFHAoVM fs1MjZ9c7slU8Odhp4d3dz/F9NL94C8drXzyzq5Lmz7Y2JNrI1Hiy5JtUl5hdNQIX0mz Jf3UbYG7jVWOTFQWB/LxcVddOIIUh5n8kLkLN0O+lDNM6kQCU4IeTdx4KZY3Q4eH7zqv QylA== X-Gm-Message-State: AJaThX700TS8FrTv/dxOkLGxsM9Up6yzpCnJARtdWCjmgWB/CB+zrUdI 41nGR8fIUwGV+TvS9Zr3tJe3adlf8EA= X-Google-Smtp-Source: AGs4zMZ5IiuH7LC4AQe+oDNwQO0mnM0kq1H8fL7ZJ2ILgh7LDGTDbxP4NSBqKojHmEDFBiQojP1okA== X-Received: by 10.223.190.134 with SMTP id i6mr17641580wrh.177.1512515856327; Tue, 05 Dec 2017 15:17:36 -0800 (PST) Received: from ziepe.ca (S010614cc2056d97f.ed.shawcable.net. [70.74.179.152]) by smtp.gmail.com with ESMTPSA id c3sm1343677wrf.21.2017.12.05.15.17.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 15:17:34 -0800 (PST) Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1eMMSy-00054p-Fw; Tue, 05 Dec 2017 16:17:32 -0700 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe Subject: [PATCH 7/8] verbs: Remove dead _HAS_ defines for providers Date: Tue, 5 Dec 2017 16:17:20 -0700 Message-Id: <20171205231721.19410-8-jgg@ziepe.ca> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171205231721.19410-1-jgg@ziepe.ca> References: <20171205231721.19410-1-jgg@ziepe.ca> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jason Gunthorpe Nothing looks at these anymore. Signed-off-by: Jason Gunthorpe --- libibverbs/driver.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/libibverbs/driver.h b/libibverbs/driver.h index 04071a73583406..4f2a9486880e11 100644 --- a/libibverbs/driver.h +++ b/libibverbs/driver.h @@ -247,7 +247,6 @@ int ibv_cmd_open_xrcd(struct ibv_context *context, struct verbs_xrcd *xrcd, struct ibv_open_xrcd *cmd, size_t cmd_size, struct ibv_open_xrcd_resp *resp, size_t resp_size); int ibv_cmd_close_xrcd(struct verbs_xrcd *xrcd); -#define IBV_CMD_REG_MR_HAS_RESP_PARAMS int ibv_cmd_reg_mr(struct ibv_pd *pd, void *addr, size_t length, uint64_t hca_va, int access, struct ibv_mr *mr, struct ibv_reg_mr *cmd, @@ -281,7 +280,6 @@ int ibv_cmd_create_cq_ex(struct ibv_context *context, size_t resp_size); int ibv_cmd_poll_cq(struct ibv_cq *cq, int ne, struct ibv_wc *wc); int ibv_cmd_req_notify_cq(struct ibv_cq *cq, int solicited_only); -#define IBV_CMD_RESIZE_CQ_HAS_RESP_PARAMS int ibv_cmd_resize_cq(struct ibv_cq *cq, int cqe, struct ibv_resize_cq *cmd, size_t cmd_size, struct ibv_resize_cq_resp *resp, size_t resp_size);