scsi: remove __scsi_alloc_queue
authorChristoph Hellwig <hch@lst.de>
Mon, 2 Jan 2017 18:52:10 +0000 (21:52 +0300)
committerJens Axboe <axboe@fb.com>
Fri, 27 Jan 2017 22:08:35 +0000 (15:08 -0700)
commitd48777a633d6fa7ccde0f0e6509f0c01fbfc5299
treed071d9b3eb3519374914628516918ab9e492b601
parenteeff68c5618c8d0920b14533c70b2df007bd94b4
scsi: remove __scsi_alloc_queue

Instead do an internal export of __scsi_init_queue for the transport
classes that export BSG nodes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_transport_fc.c
drivers/scsi/scsi_transport_iscsi.c
include/scsi/scsi_host.h
include/scsi/scsi_transport.h