lkml.org 
[lkml]   [2012]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] scsi: remove duplicated code in scsi_adjust_queue_depth.
Date
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


\
 
 \ /
  Last update: 2012-06-06 14:41    [W:0.058 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site