[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH V8 05/20] qemu-img: remove unused parameter in colle
From: |
Wenchao Xia |
Subject: |
[Qemu-devel] [PATCH V8 05/20] qemu-img: remove unused parameter in collect_image_info() |
Date: |
Thu, 7 Mar 2013 14:07:10 +0800 |
Parameter *fmt was not used, so remove it.
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Wenchao Xia <address@hidden>
---
qemu-img.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index 471de7d..f4e5d90 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -1640,8 +1640,7 @@ static void dump_json_image_info(ImageInfo *info)
static void collect_image_info(BlockDriverState *bs,
ImageInfo *info,
- const char *filename,
- const char *fmt)
+ const char *filename)
{
uint64_t total_sectors;
char backing_filename[1024];
@@ -1815,7 +1814,7 @@ static ImageInfoList *collect_image_info_list(const char
*filename,
}
info = g_new0(ImageInfo, 1);
- collect_image_info(bs, info, filename, fmt);
+ collect_image_info(bs, info, filename);
collect_snapshots(bs, info);
elem = g_new0(ImageInfoList, 1);
--
1.7.1
- [Qemu-devel] [PATCH V8 00/20] qmp/hmp interfaces for internal snapshot info, Wenchao Xia, 2013/03/07
- [Qemu-devel] [PATCH V8 02/20] build: add block/qapi.c, Wenchao Xia, 2013/03/07
- [Qemu-devel] [PATCH V8 03/20] block: move bdrv_snapshot_find() to block/snapshot.c, Wenchao Xia, 2013/03/07
- [Qemu-devel] [PATCH V8 04/20] block: distinguish id and name in bdrv_find_snapshot(), Wenchao Xia, 2013/03/07
- [Qemu-devel] [PATCH V8 07/20] block: add snapshot info query function bdrv_query_snapshot_info_list(), Wenchao Xia, 2013/03/07
- [Qemu-devel] [PATCH V8 05/20] qemu-img: remove unused parameter in collect_image_info(),
Wenchao Xia <=
- [Qemu-devel] [PATCH V8 06/20] block: move collect_snapshots() and collect_image_info() to block/qapi.c, Wenchao Xia, 2013/03/07
- [Qemu-devel] [PATCH V8 08/20] block: add filter for vm snapshot in bdrv_query_snapshot_info_list(), Wenchao Xia, 2013/03/07
- [Qemu-devel] [PATCH V8 09/20] block: add image info query function bdrv_query_image_info(), Wenchao Xia, 2013/03/07