diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-10-22 12:52:46 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-24 15:27:20 +0200 |
commit | b4948be93e53c3b471666e51ce59303082626a2f (patch) | |
tree | c9a61704d7e1e752336bf2eec2b8a25136e2df77 /tests/vhost-user-test.c | |
parent | 9850b05d216b3a835f92100fed64ffad77e5cf3b (diff) |
char: remove init callback
The CharDriverState.init() callback is no longer set since commit
a61ae7f88ce and thus unused. The only user, the malta FGPA display has
been converted to use an event "opened" callback instead.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20161022095318.17775-7-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/vhost-user-test.c')
-rw-r--r-- | tests/vhost-user-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c index d7c48c589a..edf30ac73e 100644 --- a/tests/vhost-user-test.c +++ b/tests/vhost-user-test.c @@ -455,7 +455,7 @@ static void test_server_create_chr(TestServer *server, const gchar *opt) gchar *chr_path; chr_path = g_strdup_printf("unix:%s%s", server->socket_path, opt); - server->chr = qemu_chr_new(server->chr_name, chr_path, NULL); + server->chr = qemu_chr_new(server->chr_name, chr_path); g_free(chr_path); qemu_chr_add_handlers(server->chr, chr_can_read, chr_read, |