summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-06-19 15:14:39 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2015-06-23 00:43:48 -0700
commitce8dd25d0ebb1d868802e1d1c770f27f2249fae4 (patch)
treecf69a72fb9f19681e0e2b72ae49b89ab4c044a75 /include/target
parentb753d643555e548163adfa2de9d75e0257e4b356 (diff)
downloadlinux-ce8dd25d0ebb1d868802e1d1c770f27f2249fae4.tar.bz2
target: consolidate version defines
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_base.h3
-rw-r--r--include/target/target_core_configfs.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index 273818403a3e..a35303302df3 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -10,8 +10,7 @@
#include <net/sock.h>
#include <net/tcp.h>
-#define TARGET_CORE_MOD_VERSION "v4.1.0"
-#define TARGET_CORE_VERSION TARGET_CORE_MOD_VERSION
+#define TARGET_CORE_VERSION "v4.1.0"
/*
* By default we use 32-byte CDBs in TCM Core and subsystem plugin code.
diff --git a/include/target/target_core_configfs.h b/include/target/target_core_configfs.h
index abd063b8b301..4012ed22d783 100644
--- a/include/target/target_core_configfs.h
+++ b/include/target/target_core_configfs.h
@@ -1,4 +1,3 @@
-#define TARGET_CORE_CONFIGFS_VERSION TARGET_CORE_MOD_VERSION
#define TARGET_CORE_CONFIG_ROOT "/sys/kernel/config"