Message ID | 20201208115737.18581-2-kraxel@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | vnc: support some new extensions. | expand |
On Tue, Dec 8, 2020 at 4:02 PM Gerd Hoffmann <kraxel@redhat.com> wrote: > Unused and duplicate (there is dpy_get_ui_info). > > Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> > :) Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> --- > include/ui/console.h | 1 - > ui/console.c | 6 ------ > 2 files changed, 7 deletions(-) > > diff --git a/include/ui/console.h b/include/ui/console.h > index e7303d8b98a8..5dd21976a376 100644 > --- a/include/ui/console.h > +++ b/include/ui/console.h > @@ -390,7 +390,6 @@ bool qemu_console_is_gl_blocked(QemuConsole *con); > char *qemu_console_get_label(QemuConsole *con); > int qemu_console_get_index(QemuConsole *con); > uint32_t qemu_console_get_head(QemuConsole *con); > -QemuUIInfo *qemu_console_get_ui_info(QemuConsole *con); > int qemu_console_get_width(QemuConsole *con, int fallback); > int qemu_console_get_height(QemuConsole *con, int fallback); > /* Return the low-level window id for the console */ > diff --git a/ui/console.c b/ui/console.c > index 53dee8e26b17..f995639e45f6 100644 > --- a/ui/console.c > +++ b/ui/console.c > @@ -2122,12 +2122,6 @@ uint32_t qemu_console_get_head(QemuConsole *con) > return con ? con->head : -1; > } > > -QemuUIInfo *qemu_console_get_ui_info(QemuConsole *con) > -{ > - assert(con != NULL); > - return &con->ui_info; > -} > - > int qemu_console_get_width(QemuConsole *con, int fallback) > { > if (con == NULL) { > -- > 2.27.0 > > >
On Tue, Dec 08, 2020 at 12:57:29PM +0100, Gerd Hoffmann wrote: > Unused and duplicate (there is dpy_get_ui_info). > > Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> > --- > include/ui/console.h | 1 - > ui/console.c | 6 ------ > 2 files changed, 7 deletions(-) Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Regards, Daniel
diff --git a/include/ui/console.h b/include/ui/console.h index e7303d8b98a8..5dd21976a376 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -390,7 +390,6 @@ bool qemu_console_is_gl_blocked(QemuConsole *con); char *qemu_console_get_label(QemuConsole *con); int qemu_console_get_index(QemuConsole *con); uint32_t qemu_console_get_head(QemuConsole *con); -QemuUIInfo *qemu_console_get_ui_info(QemuConsole *con); int qemu_console_get_width(QemuConsole *con, int fallback); int qemu_console_get_height(QemuConsole *con, int fallback); /* Return the low-level window id for the console */ diff --git a/ui/console.c b/ui/console.c index 53dee8e26b17..f995639e45f6 100644 --- a/ui/console.c +++ b/ui/console.c @@ -2122,12 +2122,6 @@ uint32_t qemu_console_get_head(QemuConsole *con) return con ? con->head : -1; } -QemuUIInfo *qemu_console_get_ui_info(QemuConsole *con) -{ - assert(con != NULL); - return &con->ui_info; -} - int qemu_console_get_width(QemuConsole *con, int fallback) { if (con == NULL) {
Unused and duplicate (there is dpy_get_ui_info). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- include/ui/console.h | 1 - ui/console.c | 6 ------ 2 files changed, 7 deletions(-)