There is an ifdef where the same exact values are used at the end, so remove the else and keep the same values for both conditions. Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx> --- mm/show_mem.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mm/show_mem.c b/mm/show_mem.c index 8dcfafbd283c..529d2f9b6410 100644 --- a/mm/show_mem.c +++ b/mm/show_mem.c @@ -108,12 +108,9 @@ void si_meminfo_node(struct sysinfo *val, int nid) free_highpages += zone_page_state(zone, NR_FREE_PAGES); } } +#endif val->totalhigh = managed_highpages; val->freehigh = free_highpages; -#else - val->totalhigh = managed_highpages; - val->freehigh = free_highpages; -#endif val->mem_unit = PAGE_SIZE; } #endif -- 2.43.0