From patchwork Tue Jun 14 17:35:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 879652 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5EHaLPf008516 for ; Tue, 14 Jun 2011 17:36:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752533Ab1FNRgS (ORCPT ); Tue, 14 Jun 2011 13:36:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23061 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750947Ab1FNRgS (ORCPT ); Tue, 14 Jun 2011 13:36:18 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5EHZVXF014353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 14 Jun 2011 13:35:31 -0400 Received: from redhat.com (dhcp-1-35.tlv.redhat.com [10.35.1.35]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p5EHZPB5015044; Tue, 14 Jun 2011 13:35:26 -0400 Date: Tue, 14 Jun 2011 20:35:44 +0300 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Paul Brook , Kevin Wolf , Gerd Hoffmann , Anthony Liguori , Riku Voipio , Richard Henderson , Avi Kivity , Marcelo Tosatti , qemu-devel@nongnu.org, Alex Williamson , Blue Swirl , Stefan Weil , Jan Kiszka , Paolo Bonzini , Christoph Hellwig , "Michael S. Tsirkin" , Aurelien Jarno , Stefan Hajnoczi , Alexander Graf , Isaku Yamahata , kvm@vger.kernel.org Subject: [PATCH 04/10] lsi53c895a: remove unused variables Message-ID: <14a9a3e5cd647654bcd8735a919f24ee8dca8779.1308072799.git.mst@redhat.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Mutt-Fcc: =sent User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 14 Jun 2011 17:36:22 +0000 (UTC) Signed-off-by: Michael S. Tsirkin --- hw/lsi53c895a.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index 3b75467..940b43a 100644 --- a/hw/lsi53c895a.c +++ b/hw/lsi53c895a.c @@ -889,7 +889,6 @@ static void lsi_do_msgout(LSIState *s) uint8_t msg; int len; uint32_t current_tag; - SCSIDevice *current_dev; lsi_request *current_req, *p, *p_next; int id; @@ -901,7 +900,6 @@ static void lsi_do_msgout(LSIState *s) current_req = lsi_find_by_tag(s, current_tag); } id = (current_tag >> 8) & 0xf; - current_dev = s->bus.devs[id]; DPRINTF("MSG out len=%d\n", s->dbc); while (s->dbc) {