scsi: core: Remove 'list' entry from struct scsi_cmnd
authorHannes Reinecke <hare@suse.de>
Thu, 7 May 2020 06:26:42 +0000 (08:26 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 8 May 2020 01:06:20 +0000 (21:06 -0400)
Leftover from cmd_list removal.

Link: https://lore.kernel.org/r/20200507062642.100612-1-hare@suse.de
Fixes: c5a9707672fe ("scsi: core: Remove cmd_list functionality")
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/aachba.c
include/scsi/scsi_cmnd.h

index eb72ac8..2b868f8 100644 (file)
@@ -814,7 +814,6 @@ int aac_probe_container(struct aac_dev *dev, int cid)
                kfree(scsidev);
                return -ENOMEM;
        }
-       scsicmd->list.next = NULL;
        scsicmd->scsi_done = aac_probe_container_scsi_done;
 
        scsicmd->device = scsidev;
index 80ac89e..7f047fd 100644 (file)
@@ -68,7 +68,6 @@ struct scsi_pointer {
 struct scsi_cmnd {
        struct scsi_request req;
        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 delayed_work abort_work;