summaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_main.c
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2011-02-23 17:18:24 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-05-09 15:17:06 +0200
commit3c2f7a856f2e70d2f1bb59f65d97a66047f14f36 (patch)
tree9fc0c94ae3e837660440ba7ef01a0fadba40b754 /drivers/block/drbd/drbd_main.c
parent0c7db27920a87a8db73ca521b527617eceec3bca (diff)
drbd: remove unused define
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
-rw-r--r--drivers/block/drbd/drbd_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c
index ed264c92c3af..c03e87f19e86 100644
--- a/drivers/block/drbd/drbd_main.c
+++ b/drivers/block/drbd/drbd_main.c
@@ -160,8 +160,6 @@ static const struct block_device_operations drbd_ops = {
.release = drbd_release,
};
-#define ARRY_SIZE(A) (sizeof(A)/sizeof(A[0]))
-
#ifdef __CHECKER__
/* When checking with sparse, and this is an inline function, sparse will
give tons of false positives. When this is a real functions sparse works.