cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
5d360b
From 94da5567a7962a25fdc268ed284c15d20637c348 Mon Sep 17 00:00:00 2001
5d360b
From: "Daniel P. Berrange" <berrange@redhat.com>
5d360b
Date: Thu, 8 Feb 2018 17:50:23 +0100
5d360b
Subject: [PATCH 09/27] vnc: zap dead code
5d360b
5d360b
RH-Author: Daniel P. Berrange <berrange@redhat.com>
5d360b
Message-id: <20180208175041.5634-10-berrange@redhat.com>
5d360b
Patchwork-id: 78940
5d360b
O-Subject: [RHEL-7.5 qemu-kvm PATCH v1 09/27] vnc: zap dead code
5d360b
Bugzilla: 1527405
5d360b
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
5d360b
RH-Acked-by: Gerd Hoffmann <kraxel@redhat.com>
5d360b
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
5d360b
5d360b
From: Gerd Hoffmann <kraxel@redhat.com>
5d360b
5d360b
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
5d360b
Reviewed-by: Peter Lieven <pl@kamp.de>
5d360b
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
5d360b
Message-id: 1446203414-4013-11-git-send-email-kraxel@redhat.com
5d360b
(cherry picked from commit e081aae5ae01f5ff695ba9fee4e622053d8e4bfe)
5d360b
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
5d360b
---
5d360b
 ui/vnc.c | 4 ----
5d360b
 1 file changed, 4 deletions(-)
5d360b
5d360b
diff --git a/ui/vnc.c b/ui/vnc.c
5d360b
index ebb6484..9923d24 100644
5d360b
--- a/ui/vnc.c
5d360b
+++ b/ui/vnc.c
5d360b
@@ -621,10 +621,6 @@ static void vnc_dpy_switch(DisplayChangeListener *dcl,
5d360b
                                           width, height, NULL, 0);
5d360b
 
5d360b
     /* guest surface */
5d360b
-#if 0 /* FIXME */
5d360b
-    if (ds_get_bytes_per_pixel(ds) != vd->guest.ds->pf.bytes_per_pixel)
5d360b
-        console_color_init(ds);
5d360b
-#endif
5d360b
     qemu_pixman_image_unref(vd->guest.fb);
5d360b
     vd->guest.fb = pixman_image_ref(surface->image);
5d360b
     vd->guest.format = surface->format;
5d360b
-- 
5d360b
1.8.3.1
5d360b