summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-01-11 15:47:24 +0300
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-08-25 16:57:56 +0400
commitca9bc12b90fbc4e2b1f81360f63842c9da54bb3c (patch)
tree485b1492c0d131d01502c31eda0c68842343ae87 /include
parent9a8e77530fa7059044114bcf1a897a470ec21bc9 (diff)
downloadlinux-ca9bc12b90fbc4e2b1f81360f63842c9da54bb3c.tar.xz
drbd: Get rid of BE_DRBD_MAGIC and BE_DRBD_MAGIC_BIG
Converting the constants happens at compile time. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/drbd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/drbd.h b/include/linux/drbd.h
index 9e5f5607eba3..d28202811672 100644
--- a/include/linux/drbd.h
+++ b/include/linux/drbd.h
@@ -334,9 +334,7 @@ enum drbd_timeout_flag {
#define UUID_JUST_CREATED ((__u64)4)
#define DRBD_MAGIC 0x83740267
-#define BE_DRBD_MAGIC __constant_cpu_to_be32(DRBD_MAGIC)
#define DRBD_MAGIC_BIG 0x835a
-#define BE_DRBD_MAGIC_BIG __constant_cpu_to_be16(DRBD_MAGIC_BIG)
/* these are of type "int" */
#define DRBD_MD_INDEX_INTERNAL -1