diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2015-11-03 19:03:01 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-11-03 13:00:55 +0100 |
commit | b160d29345eb9e9e7039c8ba4f6f3e6300f7112f (patch) | |
tree | ee2569f08436b31beaf48cb6890bb7a2bbaf74df | |
parent | 568a3743f52d82b044e4a9f0d27170eba361e7bc (diff) |
btrfs-progs: mkfs: remove unused code of format uuid string
Variant named dev_uuid and uuid_unparse() for set its value are
not used, remove it.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | mkfs.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1174,9 +1174,6 @@ static void list_all_devices(struct btrfs_root *root) printf("Devices:\n"); printf(" ID SIZE PATH\n"); list_for_each_entry(device, &fs_devices->devices, dev_list) { - char dev_uuid[BTRFS_UUID_UNPARSED_SIZE]; - - uuid_unparse(device->uuid, dev_uuid); printf(" %3llu %10s %s\n", device->devid, pretty_size(device->total_bytes), |