[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>
This commit is contained in:
committed by
Andi Kleen
parent
6167796569
commit
e496a0da7f
@@ -653,14 +653,9 @@ static void __init calgary_reserve_peripheral_mem_2(struct pci_dev *dev)
|
|||||||
static void __init calgary_reserve_regions(struct pci_dev *dev)
|
static void __init calgary_reserve_regions(struct pci_dev *dev)
|
||||||
{
|
{
|
||||||
unsigned int npages;
|
unsigned int npages;
|
||||||
void __iomem *bbar;
|
|
||||||
unsigned char busnum;
|
|
||||||
u64 start;
|
u64 start;
|
||||||
struct iommu_table *tbl = dev->sysdata;
|
struct iommu_table *tbl = dev->sysdata;
|
||||||
|
|
||||||
bbar = tbl->bbar;
|
|
||||||
busnum = dev->bus->number;
|
|
||||||
|
|
||||||
/* reserve bad_dma_address in case it's a legal address */
|
/* reserve bad_dma_address in case it's a legal address */
|
||||||
iommu_range_reserve(tbl, bad_dma_address, 1);
|
iommu_range_reserve(tbl, bad_dma_address, 1);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user