usr/src/uts/common/fs/zfs/dmu_send.c
changeset 11012 302f818f6d54
parent 11007 216d8396182e
child 11022 63ab26072e41
--- a/usr/src/uts/common/fs/zfs/dmu_send.c	Mon Nov 09 13:28:25 2009 -0800
+++ b/usr/src/uts/common/fs/zfs/dmu_send.c	Mon Nov 09 15:10:15 2009 -0700
@@ -740,7 +740,6 @@
 	dsl_dataset_t *ds, *snapds;
 	avl_tree_t *guid_map = arg;
 	guid_map_entry_t *gmep;
-	guid_map_entry_t gmesrch;
 	dsl_pool_t	*dp;
 	int err;
 	uint64_t lastobj, firstobj;
@@ -767,7 +766,6 @@
 			return (0);
 		}
 
-		gmesrch.guid = snapds->ds_phys->ds_guid;
 		gmep = kmem_alloc(sizeof (guid_map_entry_t), KM_SLEEP);
 		gmep->guid = snapds->ds_phys->ds_guid;
 		gmep->gme_ds = snapds;