]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
parisc: init: Drop unused variable end_paddr
authorHelge Deller <deller@gmx.de>
Fri, 30 Jun 2023 10:42:36 +0000 (12:42 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 30 Jun 2023 15:14:15 +0000 (17:14 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/mm/init.c

index b0c43f3b0a5f89a183188e85378b8009ab526f23..406c52fe23d549a7c792813020f2fbc0771c989d 100644 (file)
@@ -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);