projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf75d5d
)
vmw_pscsi: simplify ->change_queue_depth
author
Christoph Hellwig
<hch@lst.de>
Thu, 13 Nov 2014 14:14:43 +0000
(15:14 +0100)
committer
Christoph Hellwig
<hch@lst.de>
Mon, 24 Nov 2014 13:45:28 +0000
(14:45 +0100)
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>
drivers/scsi/vmw_pvscsi.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/vmw_pvscsi.c
b/drivers/scsi/vmw_pvscsi.c
index ade1f1d013b1241306149b15ea7f01306f6780fd..0f133c1817de3421bb74133a8a48e79d9e0c3c3d 100644
(file)
--- 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)
{
if (!sdev->tagged_supported)
qdepth = 1;
- scsi_change_queue_depth(sdev, qdepth);
-
- if (sdev->inquiry_len > 7)
- sdev_printk(KERN_INFO, sdev,
- "qdepth(%d), tagged(%d), simple(%d), scsi_level(%d), cmd_que(%d)\n",
- sdev->queue_depth, sdev->tagged_supported,
- sdev->simple_tags,
- sdev->scsi_level, (sdev->inquiry[7] & 2) >> 1);
- return sdev->queue_depth;
+ return scsi_change_queue_depth(sdev, qdepth);
}
/*