The patch titled
dio: ARRAY_SIZE() cleanup (update)
has been removed from the -mm tree. Its filename was
dio-array_size-cleanup-update.patch
This patch was dropped because it was folded into dio-array_size-cleanup.patch
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: dio: ARRAY_SIZE() cleanup (update)
From: Alejandro Martinez Ruiz <[EMAIL PROTECTED]>
dio: ARRAY_SIZE() cleanup
[Geert: eliminate NUMNAMES, as suggested by Richard Knutsson ]
[EMAIL PROTECTED]: coding-syle fixes]
Signed-off-by: Alejandro Martinez Ruiz <[EMAIL PROTECTED]>
Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]>
Cc: Richard Knutsson <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/dio/dio.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff -puN drivers/dio/dio.c~dio-array_size-cleanup-update drivers/dio/dio.c
--- a/drivers/dio/dio.c~dio-array_size-cleanup-update
+++ a/drivers/dio/dio.c
@@ -88,8 +88,6 @@ static struct dioname names[] =
#undef DIONAME
#undef DIOFBNAME
-#define NUMNAMES ARRAY_SIZE(names)
-
static const char *unknowndioname
= "unknown DIO board -- please email <[EMAIL PROTECTED]>!";
@@ -97,7 +95,7 @@ static const char *dio_getname(int id)
{
/* return pointer to a constant string describing the board with given
ID */
unsigned int i;
- for (i = 0; i < NUMNAMES; i++)
+ for (i = 0; i < ARRAY_SIZE(names); i++)
if (names[i].id == id)
return names[i].name;
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
origin.patch
m68k-array_size-cleanup.patch
dio-array_size-cleanup.patch
dio-array_size-cleanup-update.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html