diff options
author | Christoph Hellwig <hch@lst.de> | 2014-11-13 09:14:43 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-24 08:45:28 -0500 |
commit | 39f79500014a7d23dea06ad8a6ece86862ecd82a (patch) | |
tree | d2315313f75876f8b28b35654fc0ddc1574c0321 | |
parent | cf75d5d6aa914d4f587df610cc57166c15d163b5 (diff) |
vmw_pscsi: simplify ->change_queue_depth
Remove overly verbose debugging output that pokes into mid-layer internal
structures that looks like copy & paste from the mpt2/3 drivers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Reviewed-by: Hannes Reinecke <hare@suse.de>
-rw-r--r-- | drivers/scsi/vmw_pvscsi.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/scsi/vmw_pvscsi.c b/drivers/scsi/vmw_pvscsi.c index ade1f1d013b1..0f133c1817de 100644 --- a/drivers/scsi/vmw_pvscsi.c +++ b/drivers/scsi/vmw_pvscsi.c | |||
@@ -508,15 +508,7 @@ static int pvscsi_change_queue_depth(struct scsi_device *sdev, int qdepth) | |||
508 | { | 508 | { |
509 | if (!sdev->tagged_supported) | 509 | if (!sdev->tagged_supported) |
510 | qdepth = 1; | 510 | qdepth = 1; |
511 | scsi_change_queue_depth(sdev, qdepth); | 511 | return scsi_change_queue_depth(sdev, qdepth); |
512 | |||
513 | if (sdev->inquiry_len > 7) | ||
514 | sdev_printk(KERN_INFO, sdev, | ||
515 | "qdepth(%d), tagged(%d), simple(%d), scsi_level(%d), cmd_que(%d)\n", | ||
516 | sdev->queue_depth, sdev->tagged_supported, | ||
517 | sdev->simple_tags, | ||
518 | sdev->scsi_level, (sdev->inquiry[7] & 2) >> 1); | ||
519 | return sdev->queue_depth; | ||
520 | } | 512 | } |
521 | 513 | ||
522 | /* | 514 | /* |