From e02d738ee4da950e9228802ea52d9a6f0992c442 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 21 Oct 2008 12:40:47 +0200 Subject: [PATCH] cdrom_id: remove ARRAY_SIZE() declaration --- extras/cdrom_id/cdrom_id.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/extras/cdrom_id/cdrom_id.c b/extras/cdrom_id/cdrom_id.c index 381aa70b..7be0789f 100644 --- a/extras/cdrom_id/cdrom_id.c +++ b/extras/cdrom_id/cdrom_id.c @@ -39,10 +39,6 @@ #include "../../udev/udev.h" -#ifndef ARRAY_SIZE -#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) -#endif - static int debug; static void log_fn(struct udev *udev, int priority, -- 2.39.5