Skip to content

Commit ddb1312

Browse files
rppttorvalds
authored andcommitted
nds32/setup: remove unused memblock_region variable in setup_memory()
kernel test robot reports unused variable warning: arch/nds32/kernel/setup.c:247:26: warning: Unused variable: region [unusedVariable] struct memblock_region *region; ^ Remove the unused variable. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Mike Rapoport <[email protected]> Reported-by: kernel test robot <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Tested-by: Guenter Roeck <[email protected]> Cc: Greentime Hu <[email protected]> Cc: Nick Hu <[email protected]> Cc: Vincent Chen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 276aeee commit ddb1312

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/nds32/kernel/setup.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ static void __init setup_memory(void)
244244
unsigned long ram_start_pfn;
245245
unsigned long free_ram_start_pfn;
246246
phys_addr_t memory_start, memory_end;
247-
struct memblock_region *region;
248247

249248
memory_end = memory_start = 0;
250249

0 commit comments

Comments
 (0)