From patchwork Thu Jan 11 22:13:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10158821 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 0CABB60170 for ; Thu, 11 Jan 2018 22:30:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3808289C4 for ; Thu, 11 Jan 2018 22:30:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F1DE0289F6; Thu, 11 Jan 2018 22:30:44 +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 5F198289C4 for ; Thu, 11 Jan 2018 22:30:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933432AbeAKWa3 (ORCPT ); Thu, 11 Jan 2018 17:30:29 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:32866 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933287AbeAKWa3 (ORCPT ); Thu, 11 Jan 2018 17:30:29 -0500 Received: by mail-wm0-f65.google.com with SMTP id x4so4667341wmc.0 for ; Thu, 11 Jan 2018 14:30:28 -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=dmJSSXS8+Ca/C0jSnMtNYyqAOTy6NB2Cp2TczBo1F0k=; b=Y3Hjo/kH38cT/NfyHDEgUFulx9baENsM8sbUVT+8+e1bYEyq/UjRFU1K0z67JMyguF 3pClTDiuNaM38h8eMQEk08qv17/gg1qHZ/xiotH2JQkfasBzq8isIdviv+dGK6sILZUA YwedNjiu8dSL07NHnx/CYzXpnTZuqq6k0V0jdqixx3ydMGmQb+jAWjDW4NMCN6ptf8oO rfDw12z7RV4WzaNPknDkLn+jf8BY5/QLsXw3qsOsyjiVE6N9D0hQDIfDXOtFKjs1uc2u zCTeHS+K31GtWJpVKi0UzCb3HnuQvuUSqRf0CVXCkFh1XMDJn4pE/NP/wrD3G6XTCtGQ dv5A== 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=dmJSSXS8+Ca/C0jSnMtNYyqAOTy6NB2Cp2TczBo1F0k=; b=Ne8G2W0YJvmEsPJiGi1RhdWy0ggYXuUPJv4uxT/n7lwvgK6ztQhjxG8lVrGXLyb54n 35NV2q7uzHqnmy6aY4mVtNQnaUet1hVZmEZD6CtyZ7bSuCMrXykxkbVZor6NPqxeS/TA aEAOypqih+Cj9eKk3VAwJGNP1/MG/jLQK+lOroXeuLujdUS7xFHOSy1H8jQOH0KRhnV2 280Hc8x8V1BtagJm5l09JVkOe05PWtj8ekcXMhWd4+s351xU2YL5ThPdXCuTS9A5wNuI K87wgKu6KAdfG4KDMQKAw4PORYugNDDaDFDhpTR4li/6bE2Dj5NUGSZmfHYJEQSxu4gx T4jg== X-Gm-Message-State: AKwxyteZ95vlxmt/2DxNLmSQoxtpXcnfnWfhl6UrAgJYkNnqa7NCdFW1 ptaaQd58M2aWYlbw/8HBR4eqXp55sCw= X-Google-Smtp-Source: ACJfBot2n/glxJUxOi7lxDHa2PEHhSbucyLdjGxTV0rcvHkedwuzD4DyY4cMBHnwdvUfT+eZl0MDPA== X-Received: by 10.28.148.150 with SMTP id w144mr2390153wmd.0.1515709827666; Thu, 11 Jan 2018 14:30:27 -0800 (PST) Received: from ziepe.ca (S010614cc2056d97f.ed.shawcable.net. [70.74.179.152]) by smtp.gmail.com with ESMTPSA id c19sm14669770wre.72.2018.01.11.14.30.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jan 2018 14:30:27 -0800 (PST) Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1eZl6Y-0000Iz-Lw; Thu, 11 Jan 2018 15:13:46 -0700 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe Subject: [PATCH rdma-core 04/17] verbs: Remove unused structs Date: Thu, 11 Jan 2018 15:13:27 -0700 Message-Id: <20180111221340.965-5-jgg@ziepe.ca> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180111221340.965-1-jgg@ziepe.ca> References: <20180111221340.965-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 Some of these structs are renamed duplicates from the kernel header, others are just perplexing. In any case we don't use them in rdma-core Signed-off-by: Jason Gunthorpe --- libibverbs/kern-abi.h | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/libibverbs/kern-abi.h b/libibverbs/kern-abi.h index f67ddb10548880..92d750e1d26b09 100644 --- a/libibverbs/kern-abi.h +++ b/libibverbs/kern-abi.h @@ -64,16 +64,6 @@ * different between 32-bit and 64-bit architectures. */ -struct hdr { - __u32 command; - __u16 in_words; - __u16 out_words; -}; - -struct response_hdr { - __u64 response; -}; - struct ex_hdr { struct { __u32 command; @@ -108,17 +98,6 @@ struct ibv_comp_event { * the rest of the command struct based on these value. */ -struct ibv_query_params { - __u32 command; - __u16 in_words; - __u16 out_words; - __u64 response; -}; - -struct ibv_query_params_resp { - __u32 num_cq_events; -}; - struct ibv_get_context { __u32 command; __u16 in_words;