Subject: + lib-assoc_arrayc-remove-global-variable.patch added to -mm tree To: shemming@xxxxxxxxxxx,dhowells@xxxxxxxxxx,stephen@xxxxxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Thu, 02 Jan 2014 15:18:55 -0800 The patch titled Subject: lib/assoc_array.c: remove global variable has been added to the -mm tree. Its filename is lib-assoc_arrayc-remove-global-variable.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/lib-assoc_arrayc-remove-global-variable.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/lib-assoc_arrayc-remove-global-variable.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Stephen Hemminger <shemming@xxxxxxxxxxx> Subject: lib/assoc_array.c: remove global variable The associative array code creates unnecessary and potentially problematic global variable 'status'. Remove it since it is never used. Signed-off-by: Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx> Cc: David Howells <dhowells@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/assoc_array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN lib/assoc_array.c~lib-assoc_arrayc-remove-global-variable lib/assoc_array.c --- a/lib/assoc_array.c~lib-assoc_arrayc-remove-global-variable +++ a/lib/assoc_array.c @@ -157,7 +157,7 @@ enum assoc_array_walk_status { assoc_array_walk_tree_empty, assoc_array_walk_found_terminal_node, assoc_array_walk_found_wrong_shortcut, -} status; +}; struct assoc_array_walk_result { struct { _ Patches currently in -mm which might be from shemming@xxxxxxxxxxx are lib-assoc_arrayc-remove-global-variable.patch linux-next.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