mpt2sas: simplify ->change_queue_depth
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Nov 2014 14:11:59 +0000 (15:11 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 13:45:27 +0000 (14:45 +0100)
commit286c9408ec818060b6de2e617f92c40eb94d6fed
tree1ee267d0f2553c493c66a193e56782558e832656
parentdb5ed4dfd5dd0142ec36ff7b335e0ec3b836b3e6
mpt2sas: simplify ->change_queue_depth

Merge two functions, and remove overly verbose debugging output that pokes
into mid-layer internal structures.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c