Re: Patch to remove undefined C code

From: Bernd Schmidt (bernds@redhat.co.uk)
Date: Mon Oct 16 2000 - 12:27:32 EST


On Mon, 16 Oct 2000, Jeff Garzik wrote:

> > --- linux-2.4/drivers/scsi/aha152x.c Mon Oct 16 13:51:24 2000
> > +++ linux-2.4-fixed/drivers/scsi/aha152x.c Mon Oct 16 14:51:29 2000
> > @@ -1280,7 +1280,8 @@
> > scsi_unregister(shpnt);
> > registered_count--;
> > release_region(shpnt->io_port, IO_RANGE);
> > - aha152x_host[shpnt->irq - IRQ_MIN] = shpnt = 0;
> > + aha152x_host[shpnt->irq - IRQ_MIN] = 0;
> > + shpnt = 0;
> > continue;
> > }
>
> Why this change?

    aha152x_host[shpnt->irq - IRQ_MIN] = shpnt = 0;
                 ^^^^ reference ^^^^ set

Bernd

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:09 EST