From 294c1bafd2a32b17f8c29a98d3daaf2397e332ce Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Mon, 12 Mar 2012 19:17:39 +0200 Subject: [PATCH] Btrfs-progs: nuke redundant zeroing in __list_subvol_search() There's no need to zero out things twice. Signed-off-by: Ilya Dryomov --- btrfs-list.c | 4 ---- 1 file changed, 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;