mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
[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:
parent
b4edcbcafd
commit
8d115f845a
6 changed files with 5 additions and 43 deletions
|
|
@ -31,7 +31,6 @@ struct scsi_cmnd {
|
|||
int sc_magic;
|
||||
|
||||
struct scsi_device *device;
|
||||
unsigned short state;
|
||||
struct scsi_request *sc_request;
|
||||
|
||||
struct list_head list; /* scsi_cmnd participates in queue lists */
|
||||
|
|
|
|||
Loading…
Reference in a new issue