* [PATCH] scsi: remove duplicated code in scsi_adjust_queue_depth.
@ 2012-06-06 12:23 Namjae Jeon
0 siblings, 0 replies; only message in thread
From: Namjae Jeon @ 2012-06-06 12:23 UTC (permalink / raw)
To: James.Bottomley; +Cc: linux-scsi, linux-kernel, Namjae Jeon
Remove duplicated code in scsi_adjust_queue_depth.
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
---
drivers/scsi/scsi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index 61c82a3..b570d9c 100644
--- a/drivers/scsi/scsi.c
+++ b/drivers/scsi/scsi.c
@@ -909,7 +909,6 @@ void scsi_adjust_queue_depth(struct scsi_device *sdev, int tagged, int tags)
"disabled\n");
case 0:
sdev->ordered_tags = sdev->simple_tags = 0;
- sdev->queue_depth = tags;
break;
}
out:
--
1.7.9.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-06 12:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-06 12:23 [PATCH] scsi: remove duplicated code in scsi_adjust_queue_depth Namjae Jeon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).