From 9419874f709469de16c1bced7731bfecb07fe1cf Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Wed, 22 Apr 2015 11:15:10 +0100 Subject: Revert "hmp: fix crash in 'info block -n -v'" This reverts commit 638b8366200130cc7cf7a026630bc6bfb63b0c4c. Signed-off-by: Stefan Hajnoczi Signed-off-by: Kevin Wolf --- hmp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hmp.c') diff --git a/hmp.c b/hmp.c index f142d366ef..f31ae2796a 100644 --- a/hmp.c +++ b/hmp.c @@ -391,8 +391,7 @@ static void print_block_info(Monitor *mon, BlockInfo *info, inserted->iops_size); } - /* TODO: inserted->image should never be null */ - if (verbose && inserted->image) { + if (verbose) { monitor_printf(mon, "\nImages:\n"); image_info = inserted->image; while (1) { -- cgit v1.2.3