mpt3sas: simplify ->change_queue_depth
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Nov 2014 14:13:20 +0000 (15:13 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 13:45:28 +0000 (14:45 +0100)
commitcf75d5d6aa914d4f587df610cc57166c15d163b5
tree6a6b741b062afccd53588e33a772502a614408a6
parent286c9408ec818060b6de2e617f92c40eb94d6fed
mpt3sas: 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/mpt3sas/mpt3sas_scsih.c