From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyNXG-0003Nh-Uu for qemu-devel@nongnu.org; Mon, 16 Nov 2015 12:25:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyNXC-0000QL-2E for qemu-devel@nongnu.org; Mon, 16 Nov 2015 12:25:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyNXB-0000Pp-TR for qemu-devel@nongnu.org; Mon, 16 Nov 2015 12:25:41 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 9758DC4099 for ; Mon, 16 Nov 2015 17:25:41 +0000 (UTC) From: Gerd Hoffmann Date: Mon, 16 Nov 2015 18:25:25 +0100 Message-Id: <1447694735-3420-11-git-send-email-kraxel@redhat.com> In-Reply-To: <1447694735-3420-1-git-send-email-kraxel@redhat.com> References: <1447694735-3420-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 10/20] vnc: zap dead code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann 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(-) 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; -- 1.8.3.1