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>
Wed, 9 May 2012 13:17:06 +0000 (15:17 +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 ed264c92c3af3696a8295b59716a819bb437b490..c03e87f19e862fe77dc5e30c8a600b004d695079 100644 (file)
@@ -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.