diff options
author | Ahmed S. Darwish <darwish.07@gmail.com> | 2007-02-12 03:53:27 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:35 -0500 |
commit | f85aaeba458fda1de199a73566c641516e9a935d (patch) | |
tree | 4c46105fdb6cd1987c7452ac1fd06f2af6353380 /drivers/isdn/hardware/eicon/platform.h | |
parent | 053b47ff249b9e0a634dae807f81465205e7c228 (diff) |
[PATCH] isdn-eicon: Use ARRAY_SIZE macro when appropriate
Use ARRAY_SIZE macro already defined in kernel.h
Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/isdn/hardware/eicon/platform.h')
-rw-r--r-- | drivers/isdn/hardware/eicon/platform.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/isdn/hardware/eicon/platform.h b/drivers/isdn/hardware/eicon/platform.h index 16714cb0ef7d..ff09f07f440a 100644 --- a/drivers/isdn/hardware/eicon/platform.h +++ b/drivers/isdn/hardware/eicon/platform.h | |||
@@ -123,10 +123,6 @@ | |||
123 | #define DIVA_OS_MEM_DETACH_CONFIG(a, x) do { } while(0) | 123 | #define DIVA_OS_MEM_DETACH_CONFIG(a, x) do { } while(0) |
124 | #define DIVA_OS_MEM_DETACH_CONTROL(a, x) do { } while(0) | 124 | #define DIVA_OS_MEM_DETACH_CONTROL(a, x) do { } while(0) |
125 | 125 | ||
126 | #if !defined(DIM) | ||
127 | #define DIM(array) (sizeof (array)/sizeof ((array)[0])) | ||
128 | #endif | ||
129 | |||
130 | #define DIVA_INVALID_FILE_HANDLE ((dword)(-1)) | 126 | #define DIVA_INVALID_FILE_HANDLE ((dword)(-1)) |
131 | 127 | ||
132 | #define DIVAS_CONTAINING_RECORD(address, type, field) \ | 128 | #define DIVAS_CONTAINING_RECORD(address, type, field) \ |