From patchwork Thu Aug 19 15:44:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Ziryukin X-Patchwork-Id: 62206 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4F34AB70E2 for ; Fri, 20 Aug 2010 03:15:19 +1000 (EST) Received: from localhost ([127.0.0.1]:44909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om7mX-0007Xg-1u for incoming@patchwork.ozlabs.org; Thu, 19 Aug 2010 12:15:57 -0400 Received: from [140.186.70.92] (port=35234 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om7Ia-0007I3-QX for qemu-devel@nongnu.org; Thu, 19 Aug 2010 11:45:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Om7IZ-0001uT-9L for qemu-devel@nongnu.org; Thu, 19 Aug 2010 11:45:00 -0400 Received: from mail-ew0-f45.google.com ([209.85.215.45]:50130) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Om7IZ-0001u8-3p for qemu-devel@nongnu.org; Thu, 19 Aug 2010 11:44:59 -0400 Received: by ewy27 with SMTP id 27so1517893ewy.4 for ; Thu, 19 Aug 2010 08:44:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject :date:message-id:x-mailer:in-reply-to:references; bh=84vszjrIQMMthOzrL7X6/eLI4Uq9KfTqSZ/nhFYoxUA=; b=sBdaPWi7VGPu+Hl3J4nfLSwBJwtTXrPzr+bmDHL8mG7ohyMXbuPHug7P8Q1l3WdVCP BglA7iup9fypyDpwOGwvRkHyLRXLF292nTydc5lIDvU3nA1T/PrtcS2Km+cEhzuQi4SR DqG6lGZNftjzo7oAjyg4Uz2x5Eudhtk9pattA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=MpFQ6u5R24JGKtGhtyOonljhvIZ4lmGDXxpP7PdVSGSfGyFfLk9AxAV9UbLF25Obgk CQfPPvdDJeJeLwaqCm0Ji+Ng9gzdPJTLc5YY9p0IlFw6woiPBAVim3uoKx0JRjbd/v7d S/emCijAB96TYjKpkM9RHPwCRayhPNkEp9lvs= Received: by 10.213.23.12 with SMTP id p12mr875275ebb.49.1282232697800; Thu, 19 Aug 2010 08:44:57 -0700 (PDT) Received: from ftrvxmtrx@gmail.com ([86.57.155.118]) by mx.google.com with ESMTPS id v8sm2841950eeh.2.2010.08.19.08.44.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Aug 2010 08:44:57 -0700 (PDT) Received: by ftrvxmtrx@gmail.com (sSMTP sendmail emulation); Thu, 19 Aug 2010 18:44:34 +0300 From: Serge Ziryukin To: Date: Thu, 19 Aug 2010 18:44:13 +0300 Message-Id: <1282232653-32084-2-git-send-email-ftrvxmtrx@gmail.com> X-Mailer: git-send-email 1.7.2.1 In-Reply-To: <1282232653-32084-1-git-send-email-ftrvxmtrx@gmail.com> References: <1282232653-32084-1-git-send-email-ftrvxmtrx@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: Serge Ziryukin Subject: [Qemu-devel] [PATCH 2/2] ui/sdl: clean up dead code X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Serge Ziryukin --- ui/sdl.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/ui/sdl.c b/ui/sdl.c index f599d42..a1458ce 100644 --- a/ui/sdl.c +++ b/ui/sdl.c @@ -87,12 +87,6 @@ static void sdl_update(DisplayState *ds, int x, int y, int w, int h) static void sdl_setdata(DisplayState *ds) { - SDL_Rect rec; - rec.x = 0; - rec.y = 0; - rec.w = real_screen->w; - rec.h = real_screen->h; - if (guest_screen != NULL) SDL_FreeSurface(guest_screen); guest_screen = SDL_CreateRGBSurfaceFrom(ds_get_data(ds), ds_get_width(ds), ds_get_height(ds),