diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-08-30 13:37:42 +0400 |
---|---|---|
committer | Patchew Applier <no-reply@patchew.org> | 2023-09-01 17:21:04 +0000 |
commit | cbcf0fa8fd9723ee51af803bf58a8d6d3e6a4194 (patch) | |
tree | f6147eb8d7b35ebc91010b6509ae8d6c1f4e7059 /ui/console.c | |
parent | bc9b8bc93cafee6f3c9f73ef5e8a7379004e8699 (diff) | |
download | qemu-cbcf0fa8fd9723ee51af803bf58a8d6d3e6a4194.zip qemu-cbcf0fa8fd9723ee51af803bf58a8d6d3e6a4194.tar.gz qemu-cbcf0fa8fd9723ee51af803bf58a8d6d3e6a4194.tar.bz2 |
ui/console: drop have_gfx
All usages have been removed.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230830093843.3531473-9-marcandre.lureau@redhat.com>
Diffstat (limited to 'ui/console.c')
-rw-r--r-- | ui/console.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ui/console.c b/ui/console.c index 2bc4c15..fc18367 100644 --- a/ui/console.c +++ b/ui/console.c @@ -132,7 +132,6 @@ struct DisplayState { uint64_t last_update; uint64_t update_interval; bool refreshing; - bool have_gfx; QLIST_HEAD(, DisplayChangeListener) listeners; }; @@ -183,15 +182,11 @@ static void gui_setup_refresh(DisplayState *ds) { DisplayChangeListener *dcl; bool need_timer = false; - bool have_gfx = false; QLIST_FOREACH(dcl, &ds->listeners, next) { if (dcl->ops->dpy_refresh != NULL) { need_timer = true; } - if (dcl->ops->dpy_gfx_update != NULL) { - have_gfx = true; - } } if (need_timer && ds->gui_timer == NULL) { @@ -202,8 +197,6 @@ static void gui_setup_refresh(DisplayState *ds) timer_free(ds->gui_timer); ds->gui_timer = NULL; } - - ds->have_gfx = have_gfx; } void graphic_hw_update_done(QemuConsole *con) |