Message ID | 20200325022916.106641-3-jiaxun.yang@flygoat.com |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
Series | [v7,01/12] MIPS: Loongson: Do not initialise statics to 0 | expand |
diff --git a/arch/mips/loongson64/numa.c b/arch/mips/loongson64/numa.c index e5b40c5e3296..1ae072df4831 100644 --- a/arch/mips/loongson64/numa.c +++ b/arch/mips/loongson64/numa.c @@ -122,7 +122,7 @@ static unsigned long nid_to_addroffset(unsigned int nid) static void __init szmem(unsigned int node) { u32 i, mem_type; - static unsigned long num_physpages = 0; + static unsigned long num_physpages; u64 node_id, node_psize, start_pfn, end_pfn, mem_start, mem_size; /* Parse memory information and activate */