From patchwork Tue Aug 6 11:45:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 2839334 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7E84E9F3B9 for ; Tue, 6 Aug 2013 11:45:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC8B520182 for ; Tue, 6 Aug 2013 11:45:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AB6A3200DA for ; Tue, 6 Aug 2013 11:45:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756053Ab3HFLpS (ORCPT ); Tue, 6 Aug 2013 07:45:18 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:41225 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755812Ab3HFLpR (ORCPT ); Tue, 6 Aug 2013 07:45:17 -0400 Received: by mail-wg0-f42.google.com with SMTP id j13so2317026wgh.1 for ; Tue, 06 Aug 2013 04:45:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:content-type:content-transfer-encoding; bh=PbJsJyxmZxmZdMa8Jof/jIuTaaAsHYbLynpTUKWT82o=; b=DhIyjg5dGsb19g6NGv4GHE9B8fxh4+bc8EAd56SAgDO8etsk2jTwE2y7AyPwIDJrCi joW+pbQxzk5uEU7BuXYjaPx1I4syu62YbfWEieRl0GhWf25WCSu2+t1u4XOBfafq3pi6 ByVFsungCSjaQPrj8b6DGUmlrGuy7Nz/VUpalQW4vS6WPqvngmB+Kg3MB4geO7jhhOlD E0AVyJYA47tTS4mbVFZ1JA4728N6PeygdDtBvCtofYwxf60tTtQIFy1Iftze8Q1Ne4YU HFEIc9Y7zl5HhG4E7fgCSMdDfyijev9W97dq3IGlBr3Z3Q6KPaYRSHDUHhXV0EfQVQ7g YCeQ== X-Gm-Message-State: ALoCoQk3qgFj2GD0rev5YMofNeJmL4eAEJ4Ce6sTUuoZmn3AXA2zcBElVynSo36oQUztPtTqWPcd X-Received: by 10.180.20.116 with SMTP id m20mr664350wie.46.1375789516647; Tue, 06 Aug 2013 04:45:16 -0700 (PDT) Received: from [192.168.1.102] (c-98-229-118-119.hsd1.ma.comcast.net. [98.229.118.119]) by mx.google.com with ESMTPSA id hb2sm5078046wib.0.2013.08.06.04.45.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 04:45:16 -0700 (PDT) Message-ID: <5200E1CA.509@dev.mellanox.co.il> Date: Tue, 06 Aug 2013 07:45:14 -0400 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: "Hefty, Sean" CC: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH ibacm 1/8] libacm.c: Remove unneeded structures Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP acm_port and acm_device are not used/needed Signed-off-by: Hal Rosenstock --- src/libacm.c | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/src/libacm.c b/src/libacm.c index 1bf7030..4e42233 100644 --- a/src/libacm.c +++ b/src/libacm.c @@ -40,21 +40,6 @@ #include #include -struct acm_port { - uint8_t port_num; - uint16_t lid; - union ibv_gid gid; - int pkey_cnt; - uint16_t pkey[4]; -}; - -struct acm_device { - struct ibv_context *verbs; - uint64_t guid; - int port_cnt; - struct acm_port *ports; -}; - extern lock_t lock; static SOCKET sock = INVALID_SOCKET; static short server_port = 6125;