mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 02:46:06 +00:00
parisc: init: Drop unused variable end_paddr
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
7def4239e5
commit
b62b37d6c1
@ -626,12 +626,10 @@ static void __init pagetable_init(void)
|
||||
|
||||
for (range = 0; range < npmem_ranges; range++) {
|
||||
unsigned long start_paddr;
|
||||
unsigned long end_paddr;
|
||||
unsigned long size;
|
||||
|
||||
start_paddr = pmem_ranges[range].start_pfn << PAGE_SHIFT;
|
||||
size = pmem_ranges[range].pages << PAGE_SHIFT;
|
||||
end_paddr = start_paddr + size;
|
||||
|
||||
map_pages((unsigned long)__va(start_paddr), start_paddr,
|
||||
size, PAGE_KERNEL, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user