Skip to content

Commit

Permalink
console: drop qemu_console_get_ui_info
Browse files Browse the repository at this point in the history
Unused and duplicate (there is dpy_get_ui_info).

Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Message-id: [email protected]
  • Loading branch information
kraxel committed Dec 11, 2020
1 parent 2ecfc06 commit c7b22c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion include/ui/console.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
6 changes: 0 additions & 6 deletions ui/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c7b22c0

Please sign in to comment.