eal: simplify meson build of common directory
[dpdk.git] / lib / librte_eal / common / include / rte_version.h
index bc68197..f7a3a1e 100644 (file)
@@ -19,38 +19,6 @@ extern "C" {
 #include <stdio.h>
 #include <rte_common.h>
 
-/**
- * String that appears before the version number
- */
-#define RTE_VER_PREFIX "DPDK"
-
-/**
- * Major version/year number i.e. the yy in yy.mm.z
- */
-#define RTE_VER_YEAR 18
-
-/**
- * Minor version/month number i.e. the mm in yy.mm.z
- */
-#define RTE_VER_MONTH 02
-
-/**
- * Patch level number i.e. the z in yy.mm.z
- */
-#define RTE_VER_MINOR 0
-
-/**
- * Extra string to be appended to version number
- */
-#define RTE_VER_SUFFIX "-rc"
-
-/**
- * Patch release number
- *   0-15 = release candidates
- *   16   = release
- */
-#define RTE_VER_RELEASE 0
-
 /**
  * Macro to compute a version number usable for comparisons
  */
@@ -89,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;
 }