Commit 03ab31f4 authored by Stephen M. Cameron's avatar Stephen M. Cameron Committed by James Bottomley

[SCSI] hpsa: remove unused busy_initializing and busy_scanning

Signed-off-by: default avatarStephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent c0d6a4d1
...@@ -4121,7 +4121,6 @@ static int __devinit hpsa_init_one(struct pci_dev *pdev, ...@@ -4121,7 +4121,6 @@ static int __devinit hpsa_init_one(struct pci_dev *pdev,
return -ENOMEM; return -ENOMEM;
h->pdev = pdev; h->pdev = pdev;
h->busy_initializing = 1;
h->intr_mode = hpsa_simple_mode ? SIMPLE_MODE_INT : PERF_MODE_INT; h->intr_mode = hpsa_simple_mode ? SIMPLE_MODE_INT : PERF_MODE_INT;
INIT_LIST_HEAD(&h->cmpQ); INIT_LIST_HEAD(&h->cmpQ);
INIT_LIST_HEAD(&h->reqQ); INIT_LIST_HEAD(&h->reqQ);
...@@ -4230,7 +4229,6 @@ static int __devinit hpsa_init_one(struct pci_dev *pdev, ...@@ -4230,7 +4229,6 @@ static int __devinit hpsa_init_one(struct pci_dev *pdev,
hpsa_hba_inquiry(h); hpsa_hba_inquiry(h);
hpsa_register_scsi(h); /* hook ourselves into SCSI subsystem */ hpsa_register_scsi(h); /* hook ourselves into SCSI subsystem */
h->busy_initializing = 0;
return 1; return 1;
clean4: clean4:
...@@ -4239,7 +4237,6 @@ static int __devinit hpsa_init_one(struct pci_dev *pdev, ...@@ -4239,7 +4237,6 @@ static int __devinit hpsa_init_one(struct pci_dev *pdev,
free_irq(h->intr[h->intr_mode], h); free_irq(h->intr[h->intr_mode], h);
clean2: clean2:
clean1: clean1:
h->busy_initializing = 0;
kfree(h); kfree(h);
return rc; return rc;
} }
......
...@@ -95,8 +95,6 @@ struct ctlr_info { ...@@ -95,8 +95,6 @@ struct ctlr_info {
unsigned long *cmd_pool_bits; unsigned long *cmd_pool_bits;
int nr_allocs; int nr_allocs;
int nr_frees; int nr_frees;
int busy_initializing;
int busy_scanning;
int scan_finished; int scan_finished;
spinlock_t scan_lock; spinlock_t scan_lock;
wait_queue_head_t scan_wait_queue; wait_queue_head_t scan_wait_queue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment