From: Bruce Richardson Date: Fri, 15 Mar 2019 18:20:22 +0000 (+0000) Subject: eal: remove unneeded version logic X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=88f591d1db49aede51a6ff92f7e89ceb7a6b79df;p=dpdk.git eal: remove unneeded version logic 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 Acked-by: Luca Boccassi --- diff --git a/lib/librte_eal/common/include/rte_version.h b/lib/librte_eal/common/include/rte_version.h index 50867ea81e..f7a3a1ebcf 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; }