mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-26 19:44:21 +08:00
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: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
5ee7a81a9f
commit
30b02c4b2a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user