• Matthew Wilcox's avatar
    [SCSI] advansys: Remove `done' queue · 6ed1ef07
    Matthew Wilcox authored
     - 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: default avatarMatthew Wilcox <matthew@wil.cx>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    6ed1ef07
advansys.c 533 KB