scsi: core: Remove cmd_list functionality
Remove cmd_list functionality; no users left. With that the scsi_put_command() becomes empty, so remove that one, too. Link: https://lore.kernel.org/r/20200228075318.91255-14-hare@suse.de Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart van Assche <bvanassche@acm.org> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
35d2ce0b65
commit
c5a9707672
@@ -2412,7 +2412,6 @@ scsi_ioctl_reset(struct scsi_device *dev, int __user *arg)
|
||||
wake_up(&shost->host_wait);
|
||||
scsi_run_host_queues(shost);
|
||||
|
||||
scsi_put_command(scmd);
|
||||
kfree(rq);
|
||||
|
||||
out_put_autopm_host:
|
||||
|
Reference in New Issue
Block a user