ide-cd: replace C code with call to ARRAY_SIZE() macro

Delete the unnecessary macro ARY_LEN and use ARRAY_SIZE directly.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
Robert P. J. Day
2007-07-09 23:17:57 +02:00
committato da Bartlomiej Zolnierkiewicz
parent f3577db0c2
commit 74c8f97a6c
2 ha cambiato i file con 3 aggiunte e 5 eliminazioni

Vedi File

@@ -498,8 +498,6 @@ struct cdrom_info {
* Descriptions of ATAPI error codes.
*/
#define ARY_LEN(a) ((sizeof(a) / sizeof(a[0])))
/* This stuff should be in cdrom.h, since it is now generic... */
/* ATAPI sense keys (from table 140 of ATAPI 2.6) */