diff mbox

[14/14] lsi53c895a: current_dev is not used

Message ID 3d53f33baed3fc2252a9a6acd1e5cafb1ac79d2d.1307014903.git.quintela@redhat.com
State New
Headers show

Commit Message

Juan Quintela June 2, 2011, 11:53 a.m. UTC
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/lsi53c895a.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Comments

Andreas Färber June 2, 2011, 12:24 p.m. UTC | #1
Am 02.06.2011 um 13:53 schrieb Juan Quintela:

>
> Signed-off-by: Juan Quintela <quintela@redhat.com>

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
Juan Quintela June 2, 2011, 12:39 p.m. UTC | #2
Andreas Färber <andreas.faerber@web.de> wrote:
> Am 02.06.2011 um 13:53 schrieb Juan Quintela:
>
>>
>> Signed-off-by: Juan Quintela <quintela@redhat.com>
>
> See http://patchwork.ozlabs.org/patch/98182/ - ack'ed by Paolo.
>
> Andreas

oops, yeap.

This makes everything compiles (not that I care which one gets
integrated).  Just to get the whole thing compiling O:-)

Thanks, Juan.

>
>> ---
>> 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
>
<#secure method=pgpmime mode=sign>
diff mbox

Patch

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