From patchwork Fri Oct 30 11:10:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 538255 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 92CDF140D95 for ; Fri, 30 Oct 2015 22:14:56 +1100 (AEDT) Received: from localhost ([::1]:49733 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zs7e2-0005EI-N7 for incoming@patchwork.ozlabs.org; Fri, 30 Oct 2015 07:14:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zs7Zh-0005eD-Gt for qemu-devel@nongnu.org; Fri, 30 Oct 2015 07:10:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zs7Ze-0002ZR-Pa for qemu-devel@nongnu.org; Fri, 30 Oct 2015 07:10:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zs7Ze-0002Z5-KN for qemu-devel@nongnu.org; Fri, 30 Oct 2015 07:10:22 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 36BC93672A3; Fri, 30 Oct 2015 11:10:22 +0000 (UTC) Received: from nilsson.home.kraxel.org (ovpn-116-67.ams2.redhat.com [10.36.116.67]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t9UBAKks021843; Fri, 30 Oct 2015 07:10:21 -0400 Received: by nilsson.home.kraxel.org (Postfix, from userid 500) id B958D818B4; Fri, 30 Oct 2015 12:10:17 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Fri, 30 Oct 2015 12:10:05 +0100 Message-Id: <1446203414-4013-11-git-send-email-kraxel@redhat.com> In-Reply-To: <1446203414-4013-1-git-send-email-kraxel@redhat.com> References: <1446203414-4013-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: pl@kamp.de, Gerd Hoffmann Subject: [Qemu-devel] [PATCH 10/19] vnc: zap dead code X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Gerd Hoffmann Reviewed-by: Daniel P. Berrange --- ui/vnc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ui/vnc.c b/ui/vnc.c index 49e8f3a..cb1954c 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -722,10 +722,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;