qemu-char.c: drop debug printfs from qemu_chr_parse_compat
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
75bb6589c9
commit
5bb599023a
@ -2334,7 +2334,6 @@ QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename)
|
||||
if (sscanf(p, "%64[^:]:%32[^@,]%n", host, port, &pos) < 2) {
|
||||
host[0] = 0;
|
||||
if (sscanf(p, ":%32[^,]%n", port, &pos) < 1) {
|
||||
fprintf(stderr, "udp #1\n");
|
||||
goto fail;
|
||||
}
|
||||
}
|
||||
@ -2345,7 +2344,6 @@ QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename)
|
||||
if (sscanf(p, "%64[^:]:%32[^,]%n", host, port, &pos) < 2) {
|
||||
host[0] = 0;
|
||||
if (sscanf(p, ":%32[^,]%n", port, &pos) < 1) {
|
||||
fprintf(stderr, "udp #2\n");
|
||||
goto fail;
|
||||
}
|
||||
}
|
||||
@ -2373,7 +2371,6 @@ QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename)
|
||||
}
|
||||
|
||||
fail:
|
||||
fprintf(stderr, "%s: fail on \"%s\"\n", __FUNCTION__, filename);
|
||||
qemu_opts_del(opts);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user