mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
[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:
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)
|
||||
{
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user