[SCSI] remove scsi_cmnd->state
We never look at it except for the old megaraid driver that abuses it for sending internal commands. That usage can be fixed easily because those internal commands are single-threaded by a mutex and we can easily use a completion there. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:

committed by
James Bottomley

orang tua
b4edcbcafd
melakukan
8d115f845a
@@ -891,7 +891,7 @@ typedef struct {
|
||||
Scsi_Cmnd int_scmd;
|
||||
struct semaphore int_mtx; /* To synchronize the internal
|
||||
commands */
|
||||
wait_queue_head_t int_waitq; /* wait queue for internal
|
||||
struct completion int_waitq; /* wait queue for internal
|
||||
cmds */
|
||||
|
||||
int has_cluster; /* cluster support on this HBA */
|
||||
|
Reference in New Issue
Block a user