qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 14/14] lsi53c895a: current_dev is not used


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH 14/14] lsi53c895a: current_dev is not used
Date: Thu, 2 Jun 2011 14:24:57 +0200

Am 02.06.2011 um 13:53 schrieb Juan Quintela:


Signed-off-by: Juan Quintela <address@hidden>

See http://patchwork.ozlabs.org/patch/98182/ - ack'ed by Paolo.

Andreas

---
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]