From: Lado <lpenko@gmx.de>
To: scsi <linux-scsi@vger.kernel.org>
Subject: scsi: fix warning in scsi_sysfs.c
Date: Tue, 31 Jul 2007 23:35:24 +0200 [thread overview]
Message-ID: <200707312335.24919.lpenko@gmx.de> (raw)
Subject: scsi: fix warning in scsi_sysfs.c
From: Ladislav Penko <lpenko@gmx.de>
change: trivial fix warning (removed unused variable rq)
Signed-off-by: Ladislav Penko <lpenko@gmx.de>
Index: linux/drivers/scsi/scsi_sysfs.c
===================================================================
--- linux.orig/drivers/scsi/scsi_sysfs.c
+++ linux/drivers/scsi/scsi_sysfs.c
@@ -715,7 +715,6 @@ static int attr_add(struct device *dev,
int scsi_sysfs_add_sdev(struct scsi_device *sdev)
{
int error, i;
- struct request_queue *rq = sdev->request_queue;
if ((error = scsi_device_set_state(sdev, SDEV_RUNNING)) != 0)
return error;
next reply other threads:[~2007-07-31 22:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-31 21:35 Lado [this message]
2007-07-31 22:39 ` scsi: fix warning in scsi_sysfs.c James Bottomley
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=200707312335.24919.lpenko@gmx.de \
--to=lpenko@gmx.de \
--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