aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-02-17 14:45:55 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2014-02-19 15:43:54 +0100
commit98f9e35befe5c11e3da448cbe015969ed91730a4 (patch)
tree913ade487995a2f05fd065970ca13f21cd0f59b9 /tests
parent46eef33b89e936ca793e13c4aeea1414e97e8dbb (diff)
qtest: drop unused child_pid field
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/libqtest.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/libqtest.c b/tests/libqtest.c
index c9a4f89451..2876ce47d8 100644
--- a/tests/libqtest.c
+++ b/tests/libqtest.c
@@ -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;
}