diff mbox series

scsi: remove 'list' entry from struct scsi_cmnd

Message ID 20200507062642.100612-1-hare@suse.de (mailing list archive)
State Mainlined
Commit 646d4b507626f4c19d2d256ef5fc14a8d52521c6
Headers show
Series scsi: remove 'list' entry from struct scsi_cmnd | expand

Commit Message

Hannes Reinecke May 7, 2020, 6:26 a.m. UTC
Leftover from commandlist removal.

Fixes: c5a9707672fe ("scsi: core: Remove cmd_list functionality")
Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 drivers/scsi/aacraid/aachba.c | 1 -
 include/scsi/scsi_cmnd.h      | 1 -
 2 files changed, 2 deletions(-)

Comments

Christoph Hellwig May 7, 2020, 6:28 a.m. UTC | #1
On Thu, May 07, 2020 at 08:26:42AM +0200, Hannes Reinecke wrote:
> Leftover from commandlist removal.
> 
> Fixes: c5a9707672fe ("scsi: core: Remove cmd_list functionality")
> Signed-off-by: Hannes Reinecke <hare@suse.de>

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Bart Van Assche May 7, 2020, 3:26 p.m. UTC | #2
On 2020-05-06 23:26, Hannes Reinecke wrote:
> Leftover from commandlist removal.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Martin K. Petersen May 8, 2020, 1:13 a.m. UTC | #3
On Thu, 7 May 2020 08:26:42 +0200, Hannes Reinecke wrote:

> Leftover from commandlist removal.

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: core: Remove 'list' entry from struct scsi_cmnd
      https://git.kernel.org/mkp/scsi/c/646d4b507626
diff mbox series

Patch

diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c
index eb72ac8136c3..2b868f8db8ff 100644
--- a/drivers/scsi/aacraid/aachba.c
+++ b/drivers/scsi/aacraid/aachba.c
@@ -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;
diff --git a/include/scsi/scsi_cmnd.h b/include/scsi/scsi_cmnd.h
index 80ac89e47b47..7f047fdd34ac 100644
--- a/include/scsi/scsi_cmnd.h
+++ b/include/scsi/scsi_cmnd.h
@@ -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;