]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hmp.c
char: remove init callback
[mirror_qemu.git] / hmp.c
diff --git a/hmp.c b/hmp.c
index 80f7f1fefb16776b696dfbe84c79112b91c8f2c4..3d602594a23cd88ded41e5bc03eddd5555367af8 100644 (file)
--- a/hmp.c
+++ b/hmp.c
@@ -2002,7 +2002,7 @@ void hmp_chardev_add(Monitor *mon, const QDict *qdict)
     if (opts == NULL) {
         error_setg(&err, "Parsing chardev args failed");
     } else {
-        qemu_chr_new_from_opts(opts, NULL, &err);
+        qemu_chr_new_from_opts(opts, &err);
         qemu_opts_del(opts);
     }
     hmp_handle_error(mon, &err);