Commit 30b02c4b authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Linus Torvalds

assoc_array: remove global variable

The associative array code creates unnecessary and potentially
problematic global variable 'status'.  Remove it since never used.
Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5ee7a81a
...@@ -157,7 +157,7 @@ enum assoc_array_walk_status { ...@@ -157,7 +157,7 @@ enum assoc_array_walk_status {
assoc_array_walk_tree_empty, assoc_array_walk_tree_empty,
assoc_array_walk_found_terminal_node, assoc_array_walk_found_terminal_node,
assoc_array_walk_found_wrong_shortcut, assoc_array_walk_found_wrong_shortcut,
} status; };
struct assoc_array_walk_result { struct assoc_array_walk_result {
struct { struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment