]> asedeno.scripts.mit.edu Git - linux.git/commit
include/linux/mm.h: remove dead code totalram_pages_set()
authorWei Yang <richardw.yang@linux.intel.com>
Fri, 31 Jan 2020 06:15:13 +0000 (22:15 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 31 Jan 2020 18:30:39 +0000 (10:30 -0800)
commitca023a92c8f753a78c37cc8290bd8e3c54f1a936
tree24db8b6eba23499c481c71f11d9b2909a30efc9e
parent26b56e116a69e70cc13976a1b0b818036f539f53
include/linux/mm.h: remove dead code totalram_pages_set()

totalram_pages_set() was introduced in commit ca79b0c211af ("mm: convert
totalram_pages and totalhigh_pages variables to atomic"), but no one
uses it.

Link: http://lkml.kernel.org/r/20191218005543.24146-1-richardw.yang@linux.intel.com
Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h