summaryrefslogtreecommitdiff
path: root/include/linux/drbd.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-01-11 13:47:24 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-08-25 14:57:56 +0200
commitca9bc12b90fbc4e2b1f81360f63842c9da54bb3c (patch)
tree485b1492c0d131d01502c31eda0c68842343ae87 /include/linux/drbd.h
parent9a8e77530fa7059044114bcf1a897a470ec21bc9 (diff)
downloadlinux-3.10-ca9bc12b90fbc4e2b1f81360f63842c9da54bb3c.tar.gz
linux-3.10-ca9bc12b90fbc4e2b1f81360f63842c9da54bb3c.tar.bz2
linux-3.10-ca9bc12b90fbc4e2b1f81360f63842c9da54bb3c.zip
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/linux/drbd.h')
-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 9e5f5607eba..d2820281167 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