diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-02-14 05:50:04 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-02-16 12:54:23 -0500 |
commit | bce2bd3cda4e73cd92cf08e017c073058c151ddc (patch) | |
tree | 484a69117df5d8a887e6efacfb0acfd1283d0729 /arch | |
parent | 101eeda38c0ab8a4f916176e325d9e036d981a24 (diff) |
ARM: fix warnings introduced by previous patch
869486d5f51 (ARM: 7646/1: mm: use static_vm for managing static mapped
areas) introduced new warnings:
arch/arm/mm/mmu.c: In function 'pci_reserve_io':
arch/arm/mm/mmu.c:888:16: warning: unused variable 'addr'
arch/arm/mm/mmu.c:887:20: warning: unused variable 'vm'
because it failed to delete the two local variables it no longer used.
Fix this.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mm/mmu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index a35b314d270d..3da1d3e0af24 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c | |||
@@ -862,8 +862,6 @@ static void __init fill_pmd_gaps(void) | |||
862 | #if defined(CONFIG_PCI) && !defined(CONFIG_NEED_MACH_IO_H) | 862 | #if defined(CONFIG_PCI) && !defined(CONFIG_NEED_MACH_IO_H) |
863 | static void __init pci_reserve_io(void) | 863 | static void __init pci_reserve_io(void) |
864 | { | 864 | { |
865 | struct vm_struct *vm; | ||
866 | unsigned long addr; | ||
867 | struct static_vm *svm; | 865 | struct static_vm *svm; |
868 | 866 | ||
869 | svm = find_static_vm_vaddr((void *)PCI_IO_VIRT_BASE); | 867 | svm = find_static_vm_vaddr((void *)PCI_IO_VIRT_BASE); |