diff options
author | Christoph Hellwig <hch@lst.de> | 2014-09-06 03:02:09 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-24 19:56:47 +0100 |
commit | bb3ec62a179922b501535d5bd210cb8ba2ad069b (patch) | |
tree | c2f2257002aa624d23c4531a218050437c4f3b55 /drivers/scsi/scsi_priv.h | |
parent | scsi: don't use scsi_next_command in scsi_reset_provider (diff) | |
download | linux-bb3ec62a179922b501535d5bd210cb8ba2ad069b.tar.xz linux-bb3ec62a179922b501535d5bd210cb8ba2ad069b.zip |
scsi: remove scsi_next_command
There's only one caller left, so inline it and reduce the blk-mq vs !blk-mq
diff a litte bit.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r-- | drivers/scsi/scsi_priv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h index 12b8e1bee7f0..2a382c100760 100644 --- a/drivers/scsi/scsi_priv.h +++ b/drivers/scsi/scsi_priv.h @@ -84,7 +84,6 @@ int scsi_noretry_cmd(struct scsi_cmnd *scmd); extern int scsi_maybe_unblock_host(struct scsi_device *sdev); extern void scsi_device_unbusy(struct scsi_device *sdev); extern void scsi_queue_insert(struct scsi_cmnd *cmd, int reason); -extern void scsi_next_command(struct scsi_cmnd *cmd); extern void scsi_io_completion(struct scsi_cmnd *, unsigned int); extern void scsi_run_host_queues(struct Scsi_Host *shost); extern struct request_queue *scsi_alloc_queue(struct scsi_device *sdev); |