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 /net | |
parent | 9850b05d216b3a835f92100fed64ffad77e5cf3b (diff) | |
download | qemu-b4948be93e53c3b471666e51ce59303082626a2f.zip qemu-b4948be93e53c3b471666e51ce59303082626a2f.tar.gz qemu-b4948be93e53c3b471666e51ce59303082626a2f.tar.bz2 |
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 'net')
-rw-r--r-- | net/slirp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/slirp.c b/net/slirp.c index b60893f..f9fdff5 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -747,7 +747,7 @@ static int slirp_guestfwd(SlirpState *s, const char *config_str, } } else { fwd = g_new(struct GuestFwd, 1); - fwd->hd = qemu_chr_new(buf, p, NULL); + fwd->hd = qemu_chr_new(buf, p); if (!fwd->hd) { error_report("could not open guest forwarding device '%s'", buf); g_free(fwd); |