All of lore.kernel.org
 help / color / mirror / Atom feed
* sas_queue_up:remove unused variable
@ 2011-11-03  5:17 majianpeng
  0 siblings, 0 replies; 2+ messages in thread
From: majianpeng @ 2011-11-03  5:17 UTC (permalink / raw)
  To: linux-scsi

>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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* sas_queue_up:remove unused variable
@ 2011-11-03  5:38 majianpeng
  0 siblings, 0 replies; 2+ messages in thread
From: majianpeng @ 2011-11-03  5:38 UTC (permalink / raw)
  To: JBottomley; +Cc: linux-scsi

>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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-03  5:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-03  5:38 sas_queue_up:remove unused variable majianpeng
  -- strict thread matches above, loose matches on Subject: below --
2011-11-03  5:17 majianpeng

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.