]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memcontrol.c: remove the useless parameter for mc_handle_swap_pte
authorLi RongQing <roy.qing.li@gmail.com>
Tue, 26 Jul 2016 22:22:14 +0000 (15:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2016 23:19:19 +0000 (16:19 -0700)
commita38c471b2d2662a04545252595dcfa540d592ca9
treebd74c5571fa87515c79a5915dc133838494bb44f
parentf20e56d8de4d51e059d23c1682862072175e4e6a
mm/memcontrol.c: remove the useless parameter for mc_handle_swap_pte

It seems like this parameter has never been used since being introduced
by 81cf25fb9ae1 ("memcg: clean up move charge").  Not a big deal because
I assume the function would get inlined into the caller anyway but why
not get rid of it.

[mhocko@suse.com: wrote changelog]
Link: http://lkml.kernel.org/r/20160525151831.GJ20132@dhcp22.suse.cz
Link: http://lkml.kernel.org/r/1464145026-26693-1-git-send-email-roy.qing.li@gmail.com
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c