diff options
author | Gerd Hoffmann | 2020-12-08 12:57:29 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2020-12-11 08:06:39 +0100 |
commit | c7b22c0a7c48a048703802eb6534930f18b9e44c (patch) | |
tree | c134891f44dc73613c50b036a655f659f49945c1 | |
parent | Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2020-12-10' into ... (diff) | |
download | qemu-c7b22c0a7c48a048703802eb6534930f18b9e44c.tar.gz qemu-c7b22c0a7c48a048703802eb6534930f18b9e44c.tar.xz qemu-c7b22c0a7c48a048703802eb6534930f18b9e44c.zip |
console: drop qemu_console_get_ui_info
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>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20201208115737.18581-2-kraxel@redhat.com
-rw-r--r-- | include/ui/console.h | 1 | ||||
-rw-r--r-- | ui/console.c | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/include/ui/console.h b/include/ui/console.h index e7303d8b98..5dd21976a3 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 53dee8e26b..f995639e45 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) { |