aboutsummaryrefslogtreecommitdiffstats
path: root/volumes.c
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@gmail.com>2013-07-03 18:32:41 +0100
committerDavid Sterba <dsterba@suse.cz>2013-08-09 14:32:33 +0200
commit8e6b7ce746d668d7f2c2b6e0b2075dccf55df01a (patch)
tree1a72cabdf8992b008612584ac7e040be1fecff6a /volumes.c
parent93a96c547fa053759293390d2a393c7ab28632ab (diff)
downloadbtrfs-progs-8e6b7ce746d668d7f2c2b6e0b2075dccf55df01a.tar.gz
btrfs-progs-8e6b7ce746d668d7f2c2b6e0b2075dccf55df01a.tar.xz
btrfs-progs-8e6b7ce746d668d7f2c2b6e0b2075dccf55df01a.zip
Btrfs-progs: remove unused code
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'volumes.c')
-rw-r--r--volumes.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/volumes.c b/volumes.c
index 28b208d..e2ce25d 100644
--- a/volumes.c
+++ b/volumes.c
@@ -231,7 +231,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) {
@@ -249,7 +248,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);