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 <alex@xxxxxxxxxxxxxx> dio: ARRAY_SIZE() cleanup [Geert: eliminate NUMNAMES, as suggested by Richard Knutsson ] [akpm@xxxxxxxxxxxxxxxxxxxx: coding-syle fixes] Signed-off-by: Alejandro Martinez Ruiz <alex@xxxxxxxxxxxxxx> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Cc: Richard Knutsson <ricknu-0@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- 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 <linux-m68k@xxxxxxxxxxxxxxxxxxxx>!"; @@ -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 alex@xxxxxxxxxxxxxx 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html