From e081aae5ae01f5ff695ba9fee4e622053d8e4bfe Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 30 Oct 2015 12:10:05 +0100 Subject: vnc: zap dead code Signed-off-by: Gerd Hoffmann Reviewed-by: Peter Lieven Reviewed-by: Daniel P. Berrange Message-id: 1446203414-4013-11-git-send-email-kraxel@redhat.com --- ui/vnc.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ui') diff --git a/ui/vnc.c b/ui/vnc.c index cdafd09d..49de39d 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; -- cgit v1.1