Btrfs-progs: nuke redundant zeroing in __list_subvol_search()
There's no need to zero out things twice. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
e22827e9bb
commit
294c1bafd2
|
@ -569,10 +569,6 @@ static int __list_subvol_search(int fd, struct root_lookup *root_lookup)
|
|||
root_lookup_init(root_lookup);
|
||||
memset(&args, 0, sizeof(args));
|
||||
|
||||
root_lookup_init(root_lookup);
|
||||
|
||||
memset(&args, 0, sizeof(args));
|
||||
|
||||
/* search in the tree of tree roots */
|
||||
sk->tree_id = 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue