diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2010-05-27 16:14:13 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 13:01:14 -0400 |
commit | ec18d2abad04091c5125b0a37ad80a00099d8ac0 (patch) | |
tree | ef4b3931789b1cd197b58bc990bcdac203392f03 /drivers/scsi/hpsa.c | |
parent | 3f4336f33314e7d3687ff46af1fcaa970e3f4e00 (diff) |
[SCSI] hpsa: remove unused variable trans_offset
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r-- | drivers/scsi/hpsa.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index e89c40aa2b35..ad70f3e29c24 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c | |||
@@ -3811,7 +3811,6 @@ static void calc_bucket_map(int bucket[], int num_buckets, | |||
3811 | static __devinit void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h) | 3811 | static __devinit void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h) |
3812 | { | 3812 | { |
3813 | u32 trans_support; | 3813 | u32 trans_support; |
3814 | u64 trans_offset; | ||
3815 | /* 5 = 1 s/g entry or 4k | 3814 | /* 5 = 1 s/g entry or 4k |
3816 | * 6 = 2 s/g entry or 8k | 3815 | * 6 = 2 s/g entry or 8k |
3817 | * 8 = 4 s/g entry or 16k | 3816 | * 8 = 4 s/g entry or 16k |
@@ -3846,7 +3845,6 @@ static __devinit void hpsa_put_ctlr_into_performant_mode(struct ctlr_info *h) | |||
3846 | memset(h->reply_pool, 0, h->reply_pool_size); | 3845 | memset(h->reply_pool, 0, h->reply_pool_size); |
3847 | h->reply_pool_head = h->reply_pool; | 3846 | h->reply_pool_head = h->reply_pool; |
3848 | 3847 | ||
3849 | trans_offset = readl(&(h->cfgtable->TransMethodOffset)); | ||
3850 | bft[7] = h->max_sg_entries + 4; | 3848 | bft[7] = h->max_sg_entries + 4; |
3851 | calc_bucket_map(bft, ARRAY_SIZE(bft), 32, h->blockFetchTable); | 3849 | calc_bucket_map(bft, ARRAY_SIZE(bft), 32, h->blockFetchTable); |
3852 | for (i = 0; i < 8; i++) | 3850 | for (i = 0; i < 8; i++) |