[PATCH] scsi: remove duplicated code in scsi_adjust_queue_depth.

From: Namjae Jeon
Date: Wed Jun 06 2012 - 08:24:08 EST


Remove duplicated code in scsi_adjust_queue_depth.

Signed-off-by: Namjae Jeon <linkinjeon@xxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/