diff options
author | Ahmed S. Darwish <darwish.07@gmail.com> | 2007-02-12 08:53:27 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 17:48:35 (GMT) |
commit | f85aaeba458fda1de199a73566c641516e9a935d (patch) | |
tree | 4c46105fdb6cd1987c7452ac1fd06f2af6353380 /drivers/isdn/hardware/eicon/platform.h | |
parent | 053b47ff249b9e0a634dae807f81465205e7c228 (diff) | |
download | linux-fsl-qoriq-f85aaeba458fda1de199a73566c641516e9a935d.tar.xz |
[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 16714cb..ff09f07 100644 --- a/drivers/isdn/hardware/eicon/platform.h +++ b/drivers/isdn/hardware/eicon/platform.h @@ -123,10 +123,6 @@ #define DIVA_OS_MEM_DETACH_CONFIG(a, x) do { } while(0) #define DIVA_OS_MEM_DETACH_CONTROL(a, x) do { } while(0) -#if !defined(DIM) -#define DIM(array) (sizeof (array)/sizeof ((array)[0])) -#endif - #define DIVA_INVALID_FILE_HANDLE ((dword)(-1)) #define DIVAS_CONTAINING_RECORD(address, type, field) \ |