From patchwork Thu Dec 14 22:35:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10113395 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 B31C260352 for ; Thu, 14 Dec 2017 22:37:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A364929D23 for ; Thu, 14 Dec 2017 22:37:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 987B929D29; Thu, 14 Dec 2017 22:37:14 +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 4055529D23 for ; Thu, 14 Dec 2017 22:37:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754164AbdLNWhM (ORCPT ); Thu, 14 Dec 2017 17:37:12 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:38248 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753916AbdLNWhK (ORCPT ); Thu, 14 Dec 2017 17:37:10 -0500 Received: by mail-wr0-f194.google.com with SMTP id o2so6457418wro.5 for ; Thu, 14 Dec 2017 14:37:09 -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=p6wDz4p4PwrGDb4NmNvsdmZIPeUasjN4qG6MByP9Vu8=; b=VJVC2jXcbZ+9WF43Rno1rG5koRZjx6hDDOnIRUEi3OuwnYfQMPI1tpu/Ap/GP6M9iM A2gk9TvLirvFdmkqSG0AK2oy2uj9ZudiUprFMVengQMSCyu7csX0cGVzr8mXjBfb/QyE cRlOZ2VoEV6b2K3MzLRkd64KInSOyu2/5iGWSV3vI5IZdiQQv27lZVrDObemGa+zvDIB gljaEnDmjKgc7WupbcZmQwXzzH7ESeupE3xKB7YwHvdBVjUx4TyDCvHoXPDNE2kgYIgU E2/St5zEpsh365RdFVIHK/tutXF2IFy94xYKJgZznESdAvqkmklQV8EymHbRViDqnRym l/vg== 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=p6wDz4p4PwrGDb4NmNvsdmZIPeUasjN4qG6MByP9Vu8=; b=CIkt3gfA+m0fwmPH6uq7ylmpnDEP+SfEvgQOVeWwGV6cizYbPBcBJfeLUhybV+GfVv ofMch6MGhnrRPAb1E/2rlpZ7zAQ1LEgIxLcQvhLAK2PKM4dq7aXkGZmr6WN9kJ+ZoEJI gx4R9/HgC1Sbrc2bh9nknotZ+9MaUjffHCoGM9IY2fnyePOnlXFd5jq9TP90J/kiF3Lr qCUppNThvJgWvQpY5s6VYOPyDg0l/1LPVn5RYghtwcm/IedDuNU02ExYqDQC9wlpxy0C v5R8aUnZ/HHKYWH/Vh1V2i7gd7Qax6zOqYTrykiuvEcg/XQPHfRbMIw7eyDThSpGGcRQ IyHQ== X-Gm-Message-State: AKGB3mKTUlDGx8d4dj6fIMH8ENj65vjjzlRScaWrEDmtpiyS+1F8iwU+ v4E+DYpFwtiKB3Ms3tuoWLGTlJpynVQ= X-Google-Smtp-Source: ACJfBovNnOB8QlAbxe/ESA1aK0igl1yb9K+rXItCxihkFdwd3uJ3XCmspLX7dDblvxwb5dkkDw+/Gw== X-Received: by 10.223.182.19 with SMTP id f19mr7139656wre.81.1513291028740; Thu, 14 Dec 2017 14:37:08 -0800 (PST) Received: from ziepe.ca (S010614cc2056d97f.ed.shawcable.net. [70.74.179.152]) by smtp.gmail.com with ESMTPSA id w76sm10793011wrc.79.2017.12.14.14.37.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Dec 2017 14:37:07 -0800 (PST) Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1ePc7k-0007um-DR; Thu, 14 Dec 2017 15:37:04 -0700 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe Subject: [PATCH rdma-core 5/5] providers: Remove unneeded function prototypes Date: Thu, 14 Dec 2017 15:35:43 -0700 Message-Id: <20171214223544.30117-6-jgg@ziepe.ca> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171214223544.30117-1-jgg@ziepe.ca> References: <20171214223544.30117-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 These are no longer needed after prior changes to the ops structure placement. Signed-off-by: Jason Gunthorpe --- providers/i40iw/i40iw_umain.c | 3 --- providers/nes/nes_umain.c | 3 --- providers/ocrdma/ocrdma_main.c | 3 --- providers/qedr/qelr_main.c | 3 --- 4 files changed, 12 deletions(-) diff --git a/providers/i40iw/i40iw_umain.c b/providers/i40iw/i40iw_umain.c index 61c2a92dd6734c..77c1ced812499b 100644 --- a/providers/i40iw/i40iw_umain.c +++ b/providers/i40iw/i40iw_umain.c @@ -91,9 +91,6 @@ static const struct verbs_match_ent hca_table[] = { {} }; -static struct ibv_context *i40iw_ualloc_context(struct ibv_device *, int); -static void i40iw_ufree_context(struct ibv_context *); - static struct ibv_context_ops i40iw_uctx_ops = { .query_device = i40iw_uquery_device, .query_port = i40iw_uquery_port, diff --git a/providers/nes/nes_umain.c b/providers/nes/nes_umain.c index fd3d19def399b2..bd0b6ac68cec40 100644 --- a/providers/nes/nes_umain.c +++ b/providers/nes/nes_umain.c @@ -63,9 +63,6 @@ static const struct verbs_match_ent hca_table[] = { {}, }; -static struct ibv_context *nes_ualloc_context(struct ibv_device *, int); -static void nes_ufree_context(struct ibv_context *); - static struct ibv_context_ops nes_uctx_ops = { .query_device = nes_uquery_device, .query_port = nes_uquery_port, diff --git a/providers/ocrdma/ocrdma_main.c b/providers/ocrdma/ocrdma_main.c index 92a5b8a5d1c86c..afd5d79c1884c0 100644 --- a/providers/ocrdma/ocrdma_main.c +++ b/providers/ocrdma/ocrdma_main.c @@ -64,9 +64,6 @@ static const struct verbs_match_ent ucna_table[] = { {} }; -static struct ibv_context *ocrdma_alloc_context(struct ibv_device *, int); -static void ocrdma_free_context(struct ibv_context *); - static struct ibv_context_ops ocrdma_ctx_ops = { .query_device = ocrdma_query_device, .query_port = ocrdma_query_port, diff --git a/providers/qedr/qelr_main.c b/providers/qedr/qelr_main.c index fa2be455edc93e..4d62442a58dcb7 100644 --- a/providers/qedr/qelr_main.c +++ b/providers/qedr/qelr_main.c @@ -80,9 +80,6 @@ static const struct verbs_match_ent hca_table[] = { {} }; -static struct ibv_context *qelr_alloc_context(struct ibv_device *, int); -static void qelr_free_context(struct ibv_context *); - static struct ibv_context_ops qelr_ctx_ops = { .query_device = qelr_query_device, .query_port = qelr_query_port,