From: Kay Sievers Date: Tue, 21 Oct 2008 10:40:47 +0000 (+0200) Subject: cdrom_id: remove ARRAY_SIZE() declaration X-Git-Tag: 174~1411 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e02d738ee4da950e9228802ea52d9a6f0992c442;p=systemd cdrom_id: remove ARRAY_SIZE() declaration --- 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,