From 6657e41cde73597e61c0165da7be7e76f116f342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Wed, 30 Aug 2023 13:37:45 +0400 Subject: ui/vc: VC always has a DisplayState now MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Reviewed-by: Daniel P. Berrangé Message-Id: <20230830093843.3531473-12-marcandre.lureau@redhat.com> --- ui/console.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ui') diff --git a/ui/console.c b/ui/console.c index ddec68f..f97db29 100644 --- a/ui/console.c +++ b/ui/console.c @@ -1067,10 +1067,6 @@ static int vc_chr_write(Chardev *chr, const uint8_t *buf, int len) QemuConsole *s = drv->console; int i; - if (!s->ds) { - return 0; - } - s->update_x0 = s->width * FONT_WIDTH; s->update_y0 = s->height * FONT_HEIGHT; s->update_x1 = 0; -- cgit v1.1