diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-07-09 23:17:57 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-07-09 23:17:57 +0200 |
commit | 74c8f97a6c2d12fb144ad34076e969e8a01dc4b3 (patch) | |
tree | fcdb19a6ce5fc5a8bd229c85a83fc41f96e86637 /drivers/ide/ide-cd.h | |
parent | ide_in_drive_list(): "ALL" is not a wildcard anymore (diff) | |
download | linux-74c8f97a6c2d12fb144ad34076e969e8a01dc4b3.tar.xz linux-74c8f97a6c2d12fb144ad34076e969e8a01dc4b3.zip |
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>
Diffstat (limited to 'drivers/ide/ide-cd.h')
-rw-r--r-- | drivers/ide/ide-cd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h index ad1f2ed14a37..228b29c5d2e4 100644 --- a/drivers/ide/ide-cd.h +++ b/drivers/ide/ide-cd.h @@ -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) */ |