Skip to contentSkip to conversation

sas_queue_up:remove unused variable

PATCH majianpeng 1 participant 1 message Nov 3, 2011

Subsystems (2)
lore
Share & tools
lore

majianpeng

author
#0 lore raw
Quoted 1 line

From 75995bfd9fc4bdbc7830a8bbb15d82ab84cc92c1 Mon Sep 17 00:00:00 2001

From: majianpeng <[email protected]>
Date: Thu, 3 Nov 2011 11:15:31 +0000
Subject: [PATCH] remove unused variable

---
 drivers/scsi/libsas/sas_scsi_host.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/scsi/libsas/sas_scsi_host.c +0 -1
index b2c4a77..c13f67d 100644
@@ -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) {
Signature · 5 lines
1.7.3
 				
--------------
majianpeng
2011-11-03