diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2012-03-12 19:17:39 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2012-03-12 19:17:39 +0200 |
commit | 294c1bafd2a32b17f8c29a98d3daaf2397e332ce (patch) | |
tree | 4cb0e6ca593a1fc1ce1e084e5549aa14a0f7b4e0 | |
parent | e22827e9bb9634540d32bf29b23b26989e384902 (diff) |
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>
-rw-r--r-- | btrfs-list.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/btrfs-list.c b/btrfs-list.c index 5f4a9bea..44a73de1 100644 --- a/btrfs-list.c +++ b/btrfs-list.c @@ -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; |