diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-12-14 14:23:02 +0300 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-05-04 15:34:41 +0400 |
commit | 636181352788f7ba570e9055ec9352ba2badb751 (patch) | |
tree | d177c6cb15ccf9c25076ede082befcf4c117377e /chardev/char-pty.c | |
parent | e619b14746e5d8c0e53061661fd0e1da01fd4d60 (diff) |
char: remove qemu_chr_be_generic_open
The function simply alias and hides the real event function.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'chardev/char-pty.c')
-rw-r--r-- | chardev/char-pty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chardev/char-pty.c b/chardev/char-pty.c index a6337be8aa..aa9d0cb2c3 100644 --- a/chardev/char-pty.c +++ b/chardev/char-pty.c @@ -185,7 +185,7 @@ static gboolean qemu_chr_be_generic_open_func(gpointer opaque) PtyChardev *s = PTY_CHARDEV(opaque); s->open_tag = 0; - qemu_chr_be_generic_open(chr); + qemu_chr_be_event(chr, CHR_EVENT_OPENED); return FALSE; } |