From patchwork Tue Dec 2 10:26:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eli Cohen X-Patchwork-Id: 5419131 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 125B7BEEA8 for ; Tue, 2 Dec 2014 10:26:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4D988202A1 for ; Tue, 2 Dec 2014 10:26:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7A3D32027D for ; Tue, 2 Dec 2014 10:26:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751558AbaLBK0s (ORCPT ); Tue, 2 Dec 2014 05:26:48 -0500 Received: from mail-wg0-f46.google.com ([74.125.82.46]:56066 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754370AbaLBK0k (ORCPT ); Tue, 2 Dec 2014 05:26:40 -0500 Received: by mail-wg0-f46.google.com with SMTP id a1so8430022wgh.33 for ; Tue, 02 Dec 2014 02:26:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=f2G8TBHlthG6WHZEDvSvSOckneIy4BBsz/bm/uLE0Bc=; b=nHOggpDmIDZ7ZbNSTDMB5mRMq0eUGM9FYhNH8WnpjWz6Y4JRqCNZmPL4sg7WsmzxBc RpkV2Hfg0BxkGEULFTh+7etO3YlijyE50kw5RBIb4EquPIs0O95fcz4PHol/Vuundzq1 xs6wzFC0LAsc8U/jFmrqV+O/01TGVhegXNr0BakFf2cNmIbNb+uS40EDGU+/EJxwKY9q QLUyal82BwDPBihP2/tGiC6klR6egebQHiEHdoYqH0nJnE9W4tJOCiz9flqbraXyOyDw yULd14r5eTFVw+DXgdExtaRUxabm3Qn42/DoaNTl/DvM/b0EVnJcS6faOeOdtkysmf/d XabA== X-Gm-Message-State: ALoCoQl3LgIZ1SyswpI7iH+Txb+ImA+vkJosK9wUAiApZCCTX/WA1/b49Tl1mwYYinsRJzUoK9hz X-Received: by 10.194.71.203 with SMTP id x11mr67280271wju.131.1417515999610; Tue, 02 Dec 2014 02:26:39 -0800 (PST) Received: from localhost (out.voltaire.com. [193.47.165.251]) by mx.google.com with ESMTPSA id n3sm45806008wiw.5.2014.12.02.02.26.38 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 02 Dec 2014 02:26:39 -0800 (PST) From: Eli Cohen X-Google-Original-From: Eli Cohen To: davem@davemloft.net Cc: roland@kernel.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, ogerlitz@mellanox.com, amirv@mellanox.com, Eli Cohen Subject: [PATCH net-next 4/9] net/mlx5_core: Remove unused dev cap enum fields Date: Tue, 2 Dec 2014 12:26:14 +0200 Message-Id: <1417515979-22418-5-git-send-email-eli@mellanox.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1417515979-22418-1-git-send-email-eli@mellanox.com> References: <1417515979-22418-1-git-send-email-eli@mellanox.com> 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, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 These enumerations are not used so remove them. Signed-off-by: Eli Cohen --- include/linux/mlx5/device.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/linux/mlx5/device.h b/include/linux/mlx5/device.h index 1d67fd32e71c..ea4f1c46f761 100644 --- a/include/linux/mlx5/device.h +++ b/include/linux/mlx5/device.h @@ -219,23 +219,15 @@ enum { }; enum { - MLX5_DEV_CAP_FLAG_RC = 1LL << 0, - MLX5_DEV_CAP_FLAG_UC = 1LL << 1, - MLX5_DEV_CAP_FLAG_UD = 1LL << 2, MLX5_DEV_CAP_FLAG_XRC = 1LL << 3, - MLX5_DEV_CAP_FLAG_SRQ = 1LL << 6, MLX5_DEV_CAP_FLAG_BAD_PKEY_CNTR = 1LL << 8, MLX5_DEV_CAP_FLAG_BAD_QKEY_CNTR = 1LL << 9, MLX5_DEV_CAP_FLAG_APM = 1LL << 17, MLX5_DEV_CAP_FLAG_ATOMIC = 1LL << 18, MLX5_DEV_CAP_FLAG_BLOCK_MCAST = 1LL << 23, - MLX5_DEV_CAP_FLAG_ON_DMND_PG = 1LL << 24, MLX5_DEV_CAP_FLAG_CQ_MODER = 1LL << 29, MLX5_DEV_CAP_FLAG_RESIZE_CQ = 1LL << 30, - MLX5_DEV_CAP_FLAG_RESIZE_SRQ = 1LL << 32, MLX5_DEV_CAP_FLAG_DCT = 1LL << 37, - MLX5_DEV_CAP_FLAG_REMOTE_FENCE = 1LL << 38, - MLX5_DEV_CAP_FLAG_TLP_HINTS = 1LL << 39, MLX5_DEV_CAP_FLAG_SIG_HAND_OVER = 1LL << 40, MLX5_DEV_CAP_FLAG_CMDIF_CSUM = 3LL << 46, };