Skip to contentSkip to conversation

scsi: remove 'list' entry from struct scsi_cmnd

PATCH Applied Hannes Reinecke 4 participants 4 messages May 7, 2020 – May 8, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: remove 'list' entry from struct scsi_cmnd

Leftover from commandlist removal.

Fixes c5a9707672fe ("scsi: core: Remove cmd_list functionality")
---
 drivers/scsi/aacraid/aachba.c | 1 -
 include/scsi/scsi_cmnd.h      | 1 -
 2 files changed, 2 deletions(-)
drivers/scsi/aacraid/aachba.c +0 -1
index eb72ac8136c3..2b868f8db8ff 100644
@@ -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;
include/scsi/scsi_cmnd.h +0 -1
index 80ac89e47b47..7f047fdd34ac 100644
@@ -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;
 
Signature · 1 line
2.16.4