From: Namjae Jeon <linkinjeon@gmail.com>
To: James.Bottomley@HansenPartnership.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
Namjae Jeon <linkinjeon@gmail.com>
Subject: [PATCH] scsi: remove duplicated code in scsi_adjust_queue_depth.
Date: Wed, 6 Jun 2012 08:23:46 -0400 [thread overview]
Message-ID: <1338985426-9796-1-git-send-email-linkinjeon@gmail.com> (raw)
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
reply other threads:[~2012-06-06 12:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1338985426-9796-1-git-send-email-linkinjeon@gmail.com \
--to=linkinjeon@gmail.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).