drbd: remove unused define
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 23 Feb 2011 16:18:24 +0000 (17:18 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 14 Oct 2011 14:48:02 +0000 (16:48 +0200)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_main.c

index 6e190c0c9f6c3919939f0ea8963112ab3316c472..12c9a704ea0131d48a3ae915306a44c7f767246b 100644 (file)
@@ -149,8 +149,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.
This page took 0.027166 seconds and 5 git commands to generate.