diff options
author | Christoph Hellwig <hch@lst.de> | 2014-11-13 09:08:42 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-24 08:45:27 -0500 |
commit | db5ed4dfd5dd0142ec36ff7b335e0ec3b836b3e6 (patch) | |
tree | 6cae824b5c9e5a7fd9d213e3f9c2b1c7dc8b7b8a /drivers/scsi/bnx2fc | |
parent | 1e6f2416044c062a56091ebf8d76760956dd5872 (diff) |
scsi: drop reason argument from ->change_queue_depth
Drop the now unused reason argument from the ->change_queue_depth method.
Also add a return value to scsi_adjust_queue_depth, and rename it to
scsi_change_queue_depth now that it can be used as the default
->change_queue_depth implementation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'drivers/scsi/bnx2fc')
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c index cc537972f3ea..386c2cfad306 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c +++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c | |||
@@ -2784,7 +2784,7 @@ static struct scsi_host_template bnx2fc_shost_template = { | |||
2784 | .eh_target_reset_handler = bnx2fc_eh_target_reset, /* tgt reset */ | 2784 | .eh_target_reset_handler = bnx2fc_eh_target_reset, /* tgt reset */ |
2785 | .eh_host_reset_handler = fc_eh_host_reset, | 2785 | .eh_host_reset_handler = fc_eh_host_reset, |
2786 | .slave_alloc = fc_slave_alloc, | 2786 | .slave_alloc = fc_slave_alloc, |
2787 | .change_queue_depth = fc_change_queue_depth, | 2787 | .change_queue_depth = scsi_change_queue_depth, |
2788 | .change_queue_type = scsi_change_queue_type, | 2788 | .change_queue_type = scsi_change_queue_type, |
2789 | .this_id = -1, | 2789 | .this_id = -1, |
2790 | .cmd_per_lun = 3, | 2790 | .cmd_per_lun = 3, |