Skip to contentSkip to conversation

lib-assoc_arrayc-remove-global-variable.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 23, 2014 Library code

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] lib-assoc_arrayc-remove-global-variable.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 23 Jan 2014 12:42:36 -0800

The patch titled
Subject: lib/assoc_array.c: remove global variable
has been removed from the -mm tree. Its filename was
lib-assoc_arrayc-remove-global-variable.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Stephen Hemminger <[email protected]>
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.

---

 lib/assoc_array.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/assoc_array.c renamed from lib/assoc_array.c~lib-assoc_arrayc-remove-global-variable +1 -1
diff -puN lib/assoc_array.c~lib-assoc_arrayc-remove-global-variable 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 [email protected] are

origin.patch
linux-next.patch