aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2015-10-30 12:10:05 +0100
committerGerd Hoffmann <kraxel@redhat.com>2015-11-05 09:09:05 +0100
commite081aae5ae01f5ff695ba9fee4e622053d8e4bfe (patch)
treea08283c4b5b94392aa14f7367e2d0e0b0f4c1939
parentd90340115a3569caa72063775ff927f4dc353551 (diff)
vnc: zap dead code
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Peter Lieven <pl@kamp.de> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Message-id: 1446203414-4013-11-git-send-email-kraxel@redhat.com
-rw-r--r--ui/vnc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/vnc.c b/ui/vnc.c
index cdafd09d90..49de39d0d6 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -732,10 +732,6 @@ static void vnc_dpy_switch(DisplayChangeListener *dcl,
width, height, NULL, 0);
/* guest surface */
-#if 0 /* FIXME */
- if (ds_get_bytes_per_pixel(ds) != vd->guest.ds->pf.bytes_per_pixel)
- console_color_init(ds);
-#endif
qemu_pixman_image_unref(vd->guest.fb);
vd->guest.fb = pixman_image_ref(surface->image);
vd->guest.format = surface->format;