mm/memcontrol.c: remove the useless parameter for mc_handle_swap_pte
authorLi RongQing <[email protected]>
Tue, 26 Jul 2016 22:22:14 +0000 (15:22 -0700)
committerLinus Torvalds <[email protected]>
Tue, 26 Jul 2016 23:19:19 +0000 (16:19 -0700)
commit48406ef897f48d1a189d73f8c8cd2ece0dc19e5e
treebd74c5571fa87515c79a5915dc133838494bb44f
parentde24baecd7628aa19e8b53530bb33f8ffbaf5220
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 90254a65833b ("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.

[[email protected]: wrote changelog]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Li RongQing <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memcontrol.c