diff options
author | Muli Ben-Yehuda <muli@il.ibm.com> | 2006-12-06 20:14:12 -0500 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-06 20:14:12 -0500 |
commit | e496a0da7f8110054d0ad4039245b0f49f9540f5 (patch) | |
tree | bcc167aeccf4890f86795167495c17e432492cd2 /arch/x86_64 | |
parent | 616779656989cb8c59177e35cb13e87028b1edc8 (diff) |
[PATCH] Calgary: remove unused variables
Spotted by d binderman <dcb314@hotmail.com>.
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/kernel/pci-calgary.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86_64/kernel/pci-calgary.c b/arch/x86_64/kernel/pci-calgary.c index 0ddf29dae7e0..3215675ab128 100644 --- a/arch/x86_64/kernel/pci-calgary.c +++ b/arch/x86_64/kernel/pci-calgary.c | |||
@@ -653,14 +653,9 @@ static void __init calgary_reserve_peripheral_mem_2(struct pci_dev *dev) | |||
653 | static void __init calgary_reserve_regions(struct pci_dev *dev) | 653 | static void __init calgary_reserve_regions(struct pci_dev *dev) |
654 | { | 654 | { |
655 | unsigned int npages; | 655 | unsigned int npages; |
656 | void __iomem *bbar; | ||
657 | unsigned char busnum; | ||
658 | u64 start; | 656 | u64 start; |
659 | struct iommu_table *tbl = dev->sysdata; | 657 | struct iommu_table *tbl = dev->sysdata; |
660 | 658 | ||
661 | bbar = tbl->bbar; | ||
662 | busnum = dev->bus->number; | ||
663 | |||
664 | /* reserve bad_dma_address in case it's a legal address */ | 659 | /* reserve bad_dma_address in case it's a legal address */ |
665 | iommu_range_reserve(tbl, bad_dma_address, 1); | 660 | iommu_range_reserve(tbl, bad_dma_address, 1); |
666 | 661 | ||