]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qtest: drop unused child_pid field
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 17 Feb 2014 13:45:55 +0000 (14:45 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 19 Feb 2014 14:43:54 +0000 (15:43 +0100)
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
tests/libqtest.c

index c9a4f89451e169b6a783fc14fda2921fda248a82..2876ce47d8b52c30f17b65c67fd91a54fa14f6ed 100644 (file)
@@ -43,7 +43,6 @@ struct QTestState
     int qmp_fd;
     bool irq_level[MAX_IRQ];
     GString *rx;
-    int child_pid;   /* Child process created to execute QEMU */
     pid_t qemu_pid;  /* QEMU process spawned by our child */
 };
 
@@ -152,7 +151,6 @@ QTestState *qtest_init(const char *extra_args)
     g_free(qmp_socket_path);
 
     s->rx = g_string_new("");
-    s->child_pid = pid;
     for (i = 0; i < MAX_IRQ; i++) {
         s->irq_level[i] = false;
     }