Message ID | 94d473ab47ad4398547cce2cb70eddec8d9800fd.1446548572.git.zhaolei@cn.fujitsu.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/mkfs.c b/mkfs.c index 75fc086..d5da1fb 100644 --- a/mkfs.c +++ b/mkfs.c @@ -1176,9 +1176,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),
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> --- mkfs.c | 3 --- 1 file changed, 3 deletions(-)