]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] advansys: Remove `active' queue and all remaining internal queueing code
authorMatthew Wilcox <matthew@wil.cx>
Sun, 9 Sep 2007 14:56:34 +0000 (08:56 -0600)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:47:56 +0000 (14:47 -0400)
commit770c05e69229af97f1fe5ceecd517732b76d6f79
treec61309490c7a1647cefe52aee41ab4c7b0752b80
parent67f3a2d571d8a5b4cf9e4a3e1ff9d1bd7fc09b51
[SCSI] advansys: Remove `active' queue and all remaining internal queueing code

The `active' list was used in the reset handler -- but the midlayer
guarantees that list is empty by the time the reset handler is invoked.
It was also checked in the interrupt routines to be sure that this command
belonged to this board, but we don't need to check that either.  We can
then delete the asc_prt_target_stats() function as it will never print
anything, along with asc_enqueue(), asc_dequeue_list(), asc_rmqueue(),
asc_scsi_done_list(), struct asc_queue, ASC_QUEUE_EMPTY, ASC_TID_ALL,
ASC_FRONT, ASC_BACK, and all the REQ* macros.  Also remove this item from
the todo list.

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