diff mbox series

[11/67] ui/vc: VC always has a DisplayState now

Message ID 20230830093843.3531473-12-marcandre.lureau@redhat.com
State New
Headers show
Series Make pixman an optional dependency | expand

Commit Message

Marc-André Lureau Aug. 30, 2023, 9:37 a.m. UTC
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 ui/console.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Daniel P. Berrangé Sept. 1, 2023, 1:44 p.m. UTC | #1
On Wed, Aug 30, 2023 at 01:37:45PM +0400, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
>  ui/console.c | 4 ----
>  1 file changed, 4 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


With regards,
Daniel
diff mbox series

Patch

diff --git a/ui/console.c b/ui/console.c
index 8c4626f255..2b8022dfbe 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;