forked from Mirrors/btrfs-progs
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>master
parent
93a96c547f
commit
8e6b7ce746
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue