]> err.no Git - linux-2.6/commit
m68k: remove redundant display of free swap space in show_mem()
authorJohannes Weiner <hannes@saeurebad.de>
Mon, 28 Apr 2008 09:13:48 +0000 (02:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:27 +0000 (08:58 -0700)
commit6feef6e5f23d5a3d8a614ab8ea392dfa54c7365c
treeed21e12ae07620a2976fd09b26a53920f2ffb67a
parented6b9b97f42c091630335bfb71a2931e6f86388b
m68k: remove redundant display of free swap space in show_mem()

show_mem() has no need to print the amount of free swap space manually because
show_free_areas() does this already and is called by the former.

The two outputs only differ in text formatting:

  printk("Free swap  = %lukB\n", ...);
  printk("Free swap:       %6ldkB\n", ...);

Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68k/mm/init.c