[SCSI] sym53c8xx: Stop overriding scsi_done
authorMatthew Wilcox <matthew@wil.cx>
Fri, 5 Oct 2007 19:55:03 +0000 (15:55 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Tue, 23 Oct 2007 19:09:41 +0000 (15:09 -0400)
commit2ba65367720d871f9d955ca3ef96358999182765
tree98eb77a3941445a8fc28e252860aac97a8f7efea
parent6c9746b363b8191587191518a65d5de93df80a92
[SCSI] sym53c8xx: Stop overriding scsi_done

Instead of telling the reset routine that the command completed from
sym_eh_done, do it from sym_xpt_done.  The 'to_do' element of the ucmd
is redundant -- it serves only to tell whether eh_done is valid or not,
and we can tell this by checking to see if it's NULL.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sym53c8xx_2/sym_glue.c