Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2080105ybl; Sat, 24 Aug 2019 09:49:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzELaJyx5wxc/eoRlI9X8cCmatw2iohAk59BdM2hRX9RZjT0gNrY58E7hndI9gZjCVKZzSP X-Received: by 2002:a65:4841:: with SMTP id i1mr8842850pgs.316.1566665368377; Sat, 24 Aug 2019 09:49:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566665368; cv=none; d=google.com; s=arc-20160816; b=H/cbZ0ew6ULJ/t74eTvs3dc/2TxAy3tu51s824KF1mwHpmeXRcaVZyssn0bkh9j3ce rrzYqdO1bTba2DYtiqL42cwUYX7mzUZ9H3ouj9/2sQnHopeCGRfNUCo/Nm6/VPtCCrkx 9o/ccZd7Jsi12h/Ix7Q4qm9Fq947SzVyEuiRW3sRXWwWN2tbVQydQYfzi6rf3EhIUjON Rs1PXrrYeG8afA1JAgF0LKMs+KPVAmJMpolNrMdA5/gi/TrasEXc9FiQk+UH4khYLz84 5v2czOSFPVkcSEnYJTv7Pqea4oDePzJN4svN/9QP+DXIj3kOAFCpzfOSJ4axAl0nC5oC jCOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=ltb6VREx479pvKIqHb/++NdQYS9lzIX8qGSfLsJGfA8=; b=yKy1+CM6gkZJ32qAWtnfa1IOkz3ltFfvLCcOg6MZV87ohcpvVkECOSob8yDZ6mRJ1k vURmQJjFv7P+5gZNZOwiUrcH4G3ndF1h03U76imFhm4bIv4Hz2ystz5gnxpQjoqguD81 6VrEz6U9MZ1hklbJnuyhb4+GAVzp3ENp9e1RMB1UnGgVjFrik0WavJmgtaNHFEwLHwNv +AVeQISxjTCLmAF7jU99GjRoxx+g12EOIvDF11dvfQL0GxS7MzKH2pVShX0DyHcSCAIY BG05pQmJUmdfIg4FThWA8xlgXHKjy/rkWd1VM6VA6VRz8tk6zFLneogT++6ZoI/NMUo6 Hx+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mngzlxNA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i3si5252711pld.357.2019.08.24.09.49.09; Sat, 24 Aug 2019 09:49:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mngzlxNA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727146AbfHXQqi (ORCPT + 99 others); Sat, 24 Aug 2019 12:46:38 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:38929 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726390AbfHXQqi (ORCPT ); Sat, 24 Aug 2019 12:46:38 -0400 Received: by mail-pg1-f193.google.com with SMTP id u17so7720822pgi.6; Sat, 24 Aug 2019 09:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ltb6VREx479pvKIqHb/++NdQYS9lzIX8qGSfLsJGfA8=; b=mngzlxNAHsCaCw6r4DSsj6cBqeE9vK8cHnH52g9J87buWUE2f6SvlDXzKYrTWVKSV+ JmLPpS3DaVVlWivouAs6SyCdjhBc5nCZUmMHNlgL6mMcpdGYWd7vd4gAjnlEv0IRsvBE s0ANk2LfMHCeF6pEoEnAhdg4MKts5D8aUrTRQr8FOuykskQN2Sut2ZLMDAGLJ/TL9jVm 97XAXaxyfoRsOSkgUKGvacMu6LAA9uIZ5s+vSG0x0OdaJEB03SvjerlK6duZO1NWnQL7 6L7kurbuqrsedxagpmKfHUkVbxLRi0SwbDDv2kCaCYwdYOPip8/QkGK7Qh2GPt4IusCn EIPg== 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; bh=ltb6VREx479pvKIqHb/++NdQYS9lzIX8qGSfLsJGfA8=; b=HdPOfchkz3uj3ya/JW+X3wNB1MugrfwOC9OOAYn3F46xp8/VQjAw7xxImVDKKY/fEe pLqpgEtJyi7c/hNnMjILM3aWl4G3FyK4CyStO4h7NxmRu1VF1y/Iktd2px6nRjqoz74/ IvDmkrRv2sCU9AJxVK7d4gSFzc3/jO0Zj9S15Y5r9Pbxa6Y5RLGSy+3Sc9lVfoQOHvJp 3NlKtOw9RF4yG6pHvRU4yQmXQlstkKZyfrF4mie32+s1u0W0FQsJOcCFAjcXTLwh6JwW x7LW1KlbSLIVkdrPxyGtfJW6HzY1zCBxyzSUuPgQhP9qYp8mZxmItB+Nv6TB6lEXA4u4 p8Pg== X-Gm-Message-State: APjAAAUss97q8Mvp6KBrUjAWkz1vserJ1LPKtQVge8UE+BHXsmEfmMHU nAHx5tuHcGHy3G7aIw6OHEY= X-Received: by 2002:a17:90a:2841:: with SMTP id p1mr11253686pjf.101.1566665197514; Sat, 24 Aug 2019 09:46:37 -0700 (PDT) Received: from jordon-HP-15-Notebook-PC.domain.name ([106.51.17.2]) by smtp.gmail.com with ESMTPSA id z16sm8921213pfr.136.2019.08.24.09.46.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 24 Aug 2019 09:46:36 -0700 (PDT) From: Souptick Joarder To: leon@kernel.org, dledford@redhat.com, jgg@ziepe.ca Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Souptick Joarder Subject: [PATCH] RDMA/mlx5: Merge two enums into a single one Date: Sat, 24 Aug 2019 22:22:26 +0530 Message-Id: <1566665546-8209-1-git-send-email-jrdr.linux@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These two enums can be merged into a single one wihtout effecting their caller if those were created without intension. Signed-off-by: Souptick Joarder --- include/uapi/rdma/mlx5-abi.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h index 624f5b53..c89363a 100644 --- a/include/uapi/rdma/mlx5-abi.h +++ b/include/uapi/rdma/mlx5-abi.h @@ -461,13 +461,10 @@ enum mlx5_ib_mmap_cmd { MLX5_IB_MMAP_DEVICE_MEM = 8, }; -enum { - MLX5_IB_CLOCK_INFO_KERNEL_UPDATING = 1, -}; - /* Bit indexes for the mlx5_alloc_ucontext_resp.clock_info_versions bitmap */ enum { MLX5_IB_CLOCK_INFO_V1 = 0, + MLX5_IB_CLOCK_INFO_KERNEL_UPDATING = 1, }; struct mlx5_ib_flow_counters_desc { -- 1.9.1