Skip to content

Commit

Permalink
[PATCH] Calgary: remove unused variables
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Muli Ben-Yehuda authored and Andi Kleen committed Dec 7, 2006
1 parent 6167796 commit e496a0d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/x86_64/kernel/pci-calgary.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
unsigned int npages;
void __iomem *bbar;
unsigned char busnum;
u64 start;
struct iommu_table *tbl = dev->sysdata;

bbar = tbl->bbar;
busnum = dev->bus->number;

/* reserve bad_dma_address in case it's a legal address */
iommu_range_reserve(tbl, bad_dma_address, 1);

Expand Down

0 comments on commit e496a0d

Please sign in to comment.