[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)
commit349d2c44291d922614a273e9a4e6b43ee17c103d
treec61309490c7a1647cefe52aee41ab4c7b0752b80
parent6ed1ef0786094f06d2462aeeb6ad7bf9f5f9fc18
[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