]> git.karo-electronics.de Git - karo-tx-linux.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)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 30 Oct 2011 10:09:59 +0000 (14:09 +0400)
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h

index 43a882bc751d9cd986a78209da67b1b3bd1247e1..c89bed12cb55253869985344d80748830ea5f5cc 100644 (file)
@@ -4121,7 +4121,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);
@@ -4230,7 +4229,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:
@@ -4239,7 +4237,6 @@ clean4:
        free_irq(h->intr[h->intr_mode], h);
 clean2:
 clean1:
-       h->busy_initializing = 0;
        kfree(h);
        return rc;
 }
index 7f53ceaa7239144523c0bc1c9c2685327bfb6198..111b79e32b2b53e6939470c81bbd27fe17858e40 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;