Commit 646d4b50 authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Martin K. Petersen

scsi: core: Remove 'list' entry from struct scsi_cmnd

Leftover from cmd_list removal.

Link: https://lore.kernel.org/r/20200507062642.100612-1-hare@suse.de
Fixes: c5a97076 ("scsi: core: Remove cmd_list functionality")
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 108e36f0
...@@ -814,7 +814,6 @@ int aac_probe_container(struct aac_dev *dev, int cid) ...@@ -814,7 +814,6 @@ int aac_probe_container(struct aac_dev *dev, int cid)
kfree(scsidev); kfree(scsidev);
return -ENOMEM; return -ENOMEM;
} }
scsicmd->list.next = NULL;
scsicmd->scsi_done = aac_probe_container_scsi_done; scsicmd->scsi_done = aac_probe_container_scsi_done;
scsicmd->device = scsidev; scsicmd->device = scsidev;
......
...@@ -68,7 +68,6 @@ struct scsi_pointer { ...@@ -68,7 +68,6 @@ struct scsi_pointer {
struct scsi_cmnd { struct scsi_cmnd {
struct scsi_request req; struct scsi_request req;
struct scsi_device *device; struct scsi_device *device;
struct list_head list; /* scsi_cmnd participates in queue lists */
struct list_head eh_entry; /* entry for the host eh_cmd_q */ struct list_head eh_entry; /* entry for the host eh_cmd_q */
struct delayed_work abort_work; struct delayed_work abort_work;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment