scsi: merge scsi_init_sgtable into scsi_init_io
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Apr 2020 07:42:23 +0000 (09:42 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Apr 2020 16:47:06 +0000 (10:47 -0600)
commit0475bd6c65976c390e3805a1e5f10fc30ca8def2
treef38fd7f8d756545cdc36eafec3d10d9032c4f4ec
parent89de1504d53b59b12bfff227328ee3e63dd3a112
scsi: merge scsi_init_sgtable into scsi_init_io

scsi_init_io is the only caller of scsi_init_sgtable.  Merge the two
function to make upcoming changes a little easier.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/scsi/scsi_lib.c