[PATCH 2/2] btrfs-progs: mkfs: remove unused code of format uuid string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Variant named dev_uuid and uuid_unparse() for set its value are
not used, remove it.

Signed-off-by: Zhao Lei <zhaolei@xxxxxxxxxxxxxx>
---
 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux