Skip to contentSkip to conversation

nds32-setup-remove-unused-memblock_region-variable-in-setup_memory.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 9, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: nds32/setup: remove unused memblock_region variable in setup_memory()
has been removed from the -mm tree. Its filename was
nds32-setup-remove-unused-memblock_region-variable-in-setup_memory.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Mike Rapoport <[email protected]>
Subject: nds32/setup: remove unused memblock_region variable in setup_memory()

kernel test robot reports unused variable warning:

cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

Quoted 2 lines
Quoted 2 lines

arch/nds32/kernel/setup.c:247:26: warning: Unused variable: region [unusedVariable]

    struct memblock_region *region;
                            ^

Remove the unused variable.

---

 arch/nds32/kernel/setup.c |    1 -
 1 file changed, 1 deletion(-)
arch/nds32/kernel/setup.c renamed from arch/nds32/kernel/setup.c~nds32-setup-remove-unused-memblock_region-variable-in-setup_memory +0 -1
@@ -244,7 +244,6 @@ static void __init setup_memory(void)
 	unsigned long ram_start_pfn;
 	unsigned long free_ram_start_pfn;
 	phys_addr_t memory_start, memory_end;
-	struct memblock_region *region;
 
 	memory_end = memory_start = 0;
 

_

Patches currently in -mm which might be from [email protected] are