提交 30b02c4b 编写于 作者: S Stephen Hemminger 提交者: 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: NStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: NDavid Howells <dhowells@redhat.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册