X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=chunk-recover.c;h=705bcf52379da4d025f9aeb44a01f859a5cd404b;hb=4e84c8251ac6fa4b929ebde3d3be77d37f7d229b;hp=4a6d7141ae80419ade13b5a4ff8b010f95015e92;hpb=448999d84ddc2eaf36938176fb5091d2c2029e2f;p=platform%2Fupstream%2Fbtrfs-progs.git diff --git a/chunk-recover.c b/chunk-recover.c index 4a6d714..705bcf5 100644 --- a/chunk-recover.c +++ b/chunk-recover.c @@ -451,24 +451,6 @@ static void print_device_extent_tree(struct device_extent_tree *tree) printf("\n"); } -static void print_device_info(struct btrfs_device *device, char *prefix) -{ - if (prefix) - printf("%s", prefix); - printf("Device: id = %llu, name = %s\n", - device->devid, device->name); -} - -static void print_all_devices(struct list_head *devices) -{ - struct btrfs_device *dev; - - printf("All Devices:\n"); - list_for_each_entry(dev, devices, dev_list) - print_device_info(dev, "\t"); - printf("\n"); -} - static void print_scan_result(struct recover_control *rc) { if (!rc->verbose)