From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QS6UK-0005qr-5m for qemu-devel@nongnu.org; Thu, 02 Jun 2011 07:54:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QS6UI-0005mn-LJ for qemu-devel@nongnu.org; Thu, 02 Jun 2011 07:54:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QS6UH-0005mV-WE for qemu-devel@nongnu.org; Thu, 02 Jun 2011 07:54:54 -0400 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 (8.14.4/8.14.4) with ESMTP id p52BsrY8021973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 2 Jun 2011 07:54:53 -0400 From: Juan Quintela Date: Thu, 2 Jun 2011 13:53:49 +0200 Message-Id: <3d53f33baed3fc2252a9a6acd1e5cafb1ac79d2d.1307014903.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH 14/14] lsi53c895a: current_dev is not used List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela --- hw/lsi53c895a.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index 83084b6..90c6cbc 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) { -- 1.7.5.2