[SCSI] advansys: Remove `done' queue
commit6ed1ef0786094f06d2462aeeb6ad7bf9f5f9fc18
authorMatthew Wilcox <matthew@wil.cx>
Sun, 9 Sep 2007 14:56:33 +0000 (9 08:56 -0600)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:47:52 +0000 (12 14:47 -0400)
tree5dbbceb48294b66ea0635a8717c790740d244125
parent7686f02aa8a380b3b0322179090f3c83ee4df977
[SCSI] advansys: Remove `done' queue

 - Move the guts of asc_scsi_done_list() into a new function, asc_scsi_done.
 - Call asc_scsi_done() in asc_isr_callback() and adv_isr_callback().  The
   comment was wrong; scsi_done cannot enable interrupts.
 - All other places which queued an scp on the done list are error paths
   for queuecommand, and so we can just call asc_scsi_done() in queuecommand
   if we receive an error.
 - We no longer need to keep a list of done requests in advansys_interrupt

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/advansys.c