Skip to content

Commit

Permalink
[ARM] remove redundant display of free swap space in show_mem()
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Johannes Weiner authored and Russell King committed Apr 19, 2008
1 parent 28fab1a commit c48b2e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ void show_mem(void)

printk("Mem-info:\n");
show_free_areas();
printk("Free swap: %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10));

for_each_online_node(node) {
pg_data_t *n = NODE_DATA(node);
struct page *map = n->node_mem_map - n->node_start_pfn;
Expand Down

0 comments on commit c48b2e9

Please sign in to comment.