From: Peter Krempa Date: Mon, 12 Feb 2018 14:50:12 +0000 (+0100) Subject: qemu: block: Remove misleading part of comment in qemuBlockStorageSourceBuildJSONSock... X-Git-Tag: v4.1.0-rc1~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cae9c822be1330fe5c6eec5c61be2be8b70ba64;p=thirdparty%2Flibvirt.git qemu: block: Remove misleading part of comment in qemuBlockStorageSourceBuildJSONSocketAddress The array indexes are formatted if the JSON->commandline translator is translating an array type. It does not at all depend on this function. Signed-off-by: Peter Krempa --- diff --git a/src/qemu/qemu_block.c b/src/qemu/qemu_block.c index 585f0255ee..8b71679118 100644 --- a/src/qemu/qemu_block.c +++ b/src/qemu/qemu_block.c @@ -472,11 +472,6 @@ qemuBlockStorageSourceGetURI(virStorageSourcePtr src) * Formats @hosts into a json object conforming to the 'SocketAddress' type * in qemu. * - * This function can be used when only 1 src->nhosts is expected in order - * to build a command without the array indices after "server.". That is - * to see "server.type", "server.host", and "server.port" instead of - * "server.#.type", "server.#.host", and "server.#.port". - * * Returns a virJSONValuePtr for a single server. */ static virJSONValuePtr