Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39f79500 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
parent cf75d5d6
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -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);
}

/*