@@ -44,7 +44,6 @@ static struct rb_node *tree_insert(struct rb_root *root, u64 offset,
return parent;
}
- entry = rb_entry(parent, struct cache_extent, rb_node);
rb_link_node(node, parent, p);
rb_insert_color(node, root);
return NULL;
@@ -223,7 +223,6 @@ int btrfs_scan_one_device(int fd, const char *path,
char *buf;
int ret;
u64 devid;
- char uuidbuf[37];
buf = malloc(4096);
if (!buf) {
@@ -241,7 +240,6 @@ int btrfs_scan_one_device(int fd, const char *path,
*total_devs = 1;
else
*total_devs = btrfs_super_num_devices(disk_super);
- uuid_unparse(disk_super->fsid, uuidbuf);
ret = device_list_add(path, disk_super, devid, fs_devices_ret);
V2: removed unused statement in extent-cache.c:tree_insert() too. Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> --- extent-cache.c | 1 - volumes.c | 2 -- 2 files changed, 3 deletions(-)