All of lore.kernel.org
 help / color / mirror / Atom feed
From: "majianpeng" <majianpeng@gmail.com>
To: linux-scsi <linux-scsi@vger.kernel.org>
Subject: sas_queue_up:remove unused variable
Date: Thu, 3 Nov 2011 13:17:54 +0800	[thread overview]
Message-ID: <201111031317518753340@gmail.com> (raw)

>From 75995bfd9fc4bdbc7830a8bbb15d82ab84cc92c1 Mon Sep 17 00:00:00 2001
From: majianpeng <majianpeng@gmail.com>
Date: Thu, 3 Nov 2011 11:15:31 +0000
Subject: [PATCH] remove unused variable


Signed-off-by: majianpeng <majianpeng@gmail.com>
---
 drivers/scsi/libsas/sas_scsi_host.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c
index b2c4a77..c13f67d 100644
--- a/drivers/scsi/libsas/sas_scsi_host.c
+++ b/drivers/scsi/libsas/sas_scsi_host.c
@@ -167,7 +167,6 @@ int sas_queue_up(struct sas_task *task)
 	struct sas_ha_struct *sas_ha = task->dev->port->ha;
 	struct scsi_core *core = &sas_ha->core;
 	unsigned long flags;
-	LIST_HEAD(list);
 
 	spin_lock_irqsave(&core->task_queue_lock, flags);
 	if (sas_ha->lldd_queue_size < core->task_queue_size + 1) {
-- 
1.7.3
 				
--------------
majianpeng
2011-11-03


             reply	other threads:[~2011-11-03  5:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03  5:17 majianpeng [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-03  5:38 sas_queue_up:remove unused variable majianpeng

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=201111031317518753340@gmail.com \
    --to=majianpeng@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.