scsi: drop reason argument from ->change_queue_depth
[firefly-linux-kernel-4.4.55.git] / drivers / scsi / libiscsi.c
index 79e977484ad521bd160fea25aba2f20622571bc9..8053f24f03499335112721cd50c2816da40393a6 100644 (file)
@@ -1771,13 +1771,6 @@ fault:
 }
 EXPORT_SYMBOL_GPL(iscsi_queuecommand);
 
-int iscsi_change_queue_depth(struct scsi_device *sdev, int depth, int reason)
-{
-       scsi_adjust_queue_depth(sdev, depth);
-       return sdev->queue_depth;
-}
-EXPORT_SYMBOL_GPL(iscsi_change_queue_depth);
-
 int iscsi_target_alloc(struct scsi_target *starget)
 {
        struct iscsi_cls_session *cls_session = starget_to_session(starget);