diff options
-rw-r--r-- | drivers/scsi/hpsa.c | 2 | ||||
-rw-r--r-- | drivers/scsi/hpsa.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 21fd2b182ec9..e631bcd2742a 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c | |||
@@ -2721,7 +2721,6 @@ static struct CommandList *cmd_alloc(struct ctlr_info *h) | |||
2721 | } while (test_and_set_bit | 2721 | } while (test_and_set_bit |
2722 | (i & (BITS_PER_LONG - 1), | 2722 | (i & (BITS_PER_LONG - 1), |
2723 | h->cmd_pool_bits + (i / BITS_PER_LONG)) != 0); | 2723 | h->cmd_pool_bits + (i / BITS_PER_LONG)) != 0); |
2724 | h->nr_allocs++; | ||
2725 | spin_unlock_irqrestore(&h->lock, flags); | 2724 | spin_unlock_irqrestore(&h->lock, flags); |
2726 | 2725 | ||
2727 | c = h->cmd_pool + i; | 2726 | c = h->cmd_pool + i; |
@@ -2793,7 +2792,6 @@ static void cmd_free(struct ctlr_info *h, struct CommandList *c) | |||
2793 | spin_lock_irqsave(&h->lock, flags); | 2792 | spin_lock_irqsave(&h->lock, flags); |
2794 | clear_bit(i & (BITS_PER_LONG - 1), | 2793 | clear_bit(i & (BITS_PER_LONG - 1), |
2795 | h->cmd_pool_bits + (i / BITS_PER_LONG)); | 2794 | h->cmd_pool_bits + (i / BITS_PER_LONG)); |
2796 | h->nr_frees++; | ||
2797 | spin_unlock_irqrestore(&h->lock, flags); | 2795 | spin_unlock_irqrestore(&h->lock, flags); |
2798 | } | 2796 | } |
2799 | 2797 | ||
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h index 981647989bfd..bc85e7244f40 100644 --- a/drivers/scsi/hpsa.h +++ b/drivers/scsi/hpsa.h | |||
@@ -98,8 +98,6 @@ struct ctlr_info { | |||
98 | struct ErrorInfo *errinfo_pool; | 98 | struct ErrorInfo *errinfo_pool; |
99 | dma_addr_t errinfo_pool_dhandle; | 99 | dma_addr_t errinfo_pool_dhandle; |
100 | unsigned long *cmd_pool_bits; | 100 | unsigned long *cmd_pool_bits; |
101 | int nr_allocs; | ||
102 | int nr_frees; | ||
103 | int scan_finished; | 101 | int scan_finished; |
104 | spinlock_t scan_lock; | 102 | spinlock_t scan_lock; |
105 | wait_queue_head_t scan_wait_queue; | 103 | wait_queue_head_t scan_wait_queue; |