mirror of https://gitee.com/openkylin/linux.git
[MIPS] remove redundant display of free swap space in show_mem()
Signed-off-by: Johannes Weiner <hannes@saeurebad.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
eba8291b51
commit
f2ce89f30e
|
@ -12,7 +12,6 @@ void show_mem(void)
|
|||
|
||||
printk("Mem-info:\n");
|
||||
show_free_areas();
|
||||
printk("Free swap: %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10));
|
||||
pfn = max_mapnr;
|
||||
while (pfn-- > 0) {
|
||||
if (!pfn_valid(pfn))
|
||||
|
|
Loading…
Reference in New Issue