scsi: remove scsi_next_command
authorChristoph Hellwig <hch@lst.de>
Sat, 6 Sep 2014 01:02:09 +0000 (18:02 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 18:56:47 +0000 (19:56 +0100)
commitbb3ec62a179922b501535d5bd210cb8ba2ad069b
treec2f2257002aa624d23c4531a218050437c4f3b55
parent0f121dd85dc2128fe989da9f57dee764284689f6
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>
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_priv.h