From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: [PATCH 4/4] eal: remove unneeded version logic Date: Thu, 7 Mar 2019 11:54:48 +0000 Message-ID: <20190307115448.54041-5-bruce.richardson@intel.com> References: <20190307115448.54041-1-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Bruce Richardson To: dev@dpdk.org Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 61ADD4D27 for ; Thu, 7 Mar 2019 12:55:17 +0100 (CET) In-Reply-To: <20190307115448.54041-1-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The version number in the DPDK_VERSION file will never have an offset that needs to be subtracted, so remove that logic from the version string generation. Signed-off-by: Bruce Richardson --- lib/librte_eal/common/include/rte_version.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/librte_eal/common/include/rte_version.h b/lib/librte_eal/common/include/rte_version.h index 50867ea81..f7a3a1ebc 100644 --- a/lib/librte_eal/common/include/rte_version.h +++ b/lib/librte_eal/common/include/rte_version.h @@ -57,9 +57,7 @@ rte_version(void) RTE_VER_MONTH, RTE_VER_MINOR, RTE_VER_SUFFIX, - RTE_VER_RELEASE < 16 ? - RTE_VER_RELEASE : - RTE_VER_RELEASE - 16); + RTE_VER_RELEASE); return version; } -- 2.20.1