]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
[SCSI] hpsa: remove unused busy_initializing and busy_scanning
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Wed, 26 Oct 2011 21:20:58 +0000 (16:20 -0500)
committerJoe Jin <joe.jin@oracle.com>
Tue, 15 May 2012 07:57:16 +0000 (15:57 +0800)
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
(cherry picked from commit 03ab31f4c14f259bfa160543c83dbfd93d6fb3e2)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h

index 04cd4aac2a51d1f41311ac14e8c42c41a80d131a..ddc399ed9cceacf1107cdb10358a9c366ec1fa0f 100644 (file)
@@ -4166,7 +4166,6 @@ reinit_after_soft_reset:
                return -ENOMEM;
 
        h->pdev = pdev;
-       h->busy_initializing = 1;
        h->intr_mode = hpsa_simple_mode ? SIMPLE_MODE_INT : PERF_MODE_INT;
        INIT_LIST_HEAD(&h->cmpQ);
        INIT_LIST_HEAD(&h->reqQ);
@@ -4275,7 +4274,6 @@ reinit_after_soft_reset:
 
        hpsa_hba_inquiry(h);
        hpsa_register_scsi(h);  /* hook ourselves into SCSI subsystem */
-       h->busy_initializing = 0;
        return 1;
 
 clean4:
@@ -4284,7 +4282,6 @@ clean4:
        free_irq(h->intr[h->intr_mode], h);
 clean2:
 clean1:
-       h->busy_initializing = 0;
        kfree(h);
        return rc;
 }
index e1e158d6172fd6a58e0a1bcbdddcaee349fbf2ab..73858bc22e5793b49fc95089fb053af1ad03b976 100644 (file)
@@ -95,8 +95,6 @@ struct ctlr_info {
        unsigned long           *cmd_pool_bits;
        int                     nr_allocs;
        int                     nr_frees;
-       int                     busy_initializing;
-       int                     busy_scanning;
        int                     scan_finished;
        spinlock_t              scan_lock;
        wait_queue_head_t       scan_wait_queue;