Variant named dev_uuid and uuid_unparse() for set its value are not used, remove it.
Signed-off-by: Zhao Lei <zhao...@cn.fujitsu.com> --- mkfs.c | 3 --- 1 file changed, 3 deletions(-) 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), -- 1.8.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html