From patchwork Sun Feb 5 10:14:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Amrani, Ram" X-Patchwork-Id: 9556047 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 25D7C604DA for ; Sun, 5 Feb 2017 10:15:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E0C222BF1 for ; Sun, 5 Feb 2017 10:15:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 01BFF26E69; Sun, 5 Feb 2017 10:15:16 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 734FA22BF1 for ; Sun, 5 Feb 2017 10:15:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752023AbdBEKPP (ORCPT ); Sun, 5 Feb 2017 05:15:15 -0500 Received: from mx0a-0016ce01.pphosted.com ([67.231.148.157]:46451 "EHLO mx0b-0016ce01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751774AbdBEKPP (ORCPT ); Sun, 5 Feb 2017 05:15:15 -0500 Received: from pps.filterd (m0095336.ppops.net [127.0.0.1]) by mx0a-0016ce01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v15AB2h6010941; Sun, 5 Feb 2017 02:15:03 -0800 Received: from avcashub1.qlogic.com ([198.186.0.117]) by mx0a-0016ce01.pphosted.com with ESMTP id 28ddx91692-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 05 Feb 2017 02:15:03 -0800 Received: from lb-tlvb-ramrani.il.qlogic.org (10.185.6.119) by qlc.com (10.1.4.192) with Microsoft SMTP Server id 14.3.235.1; Sun, 5 Feb 2017 02:15:02 -0800 From: Ram Amrani To: CC: , , Ram Amrani Subject: [PATCH rdma-core v2] ibverbs: remove unused ibv command declarations Date: Sun, 5 Feb 2017 12:14:46 +0200 Message-ID: <1486289686-17903-1-git-send-email-Ram.Amrani@cavium.com> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5800 definitions=8429 signatures=670815 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1702050107 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 Remove the IBV command declarations ibv_cmd_query_gid and ibv_cmd_query_pkey as they are not implemented. Signed-off-by: Ram Amrani --- libibverbs/driver.h | 4 ---- libibverbs/libibverbs.map | 2 -- 2 files changed, 6 deletions(-) diff --git a/libibverbs/driver.h b/libibverbs/driver.h index 8ed2d30..5d29b14 100644 --- a/libibverbs/driver.h +++ b/libibverbs/driver.h @@ -123,10 +123,6 @@ int ibv_cmd_query_device_ex(struct ibv_context *context, int ibv_cmd_query_port(struct ibv_context *context, uint8_t port_num, struct ibv_port_attr *port_attr, struct ibv_query_port *cmd, size_t cmd_size); -int ibv_cmd_query_gid(struct ibv_context *context, uint8_t port_num, - int index, union ibv_gid *gid); -int ibv_cmd_query_pkey(struct ibv_context *context, uint8_t port_num, - int index, uint16_t *pkey); int ibv_cmd_alloc_pd(struct ibv_context *context, struct ibv_pd *pd, struct ibv_alloc_pd *cmd, size_t cmd_size, struct ibv_alloc_pd_resp *resp, size_t resp_size); diff --git a/libibverbs/libibverbs.map b/libibverbs/libibverbs.map index d510c86..656c21d 100644 --- a/libibverbs/libibverbs.map +++ b/libibverbs/libibverbs.map @@ -128,8 +128,6 @@ IBVERBS_PRIVATE_13 { ibv_cmd_post_srq_recv; ibv_cmd_query_device; ibv_cmd_query_device_ex; - ibv_cmd_query_gid; - ibv_cmd_query_pkey; ibv_cmd_query_port; ibv_cmd_query_qp; ibv_cmd_query_srq;