]> git.baikalelectronics.ru Git - kernel.git/commit
res_counter: delete res_counter_write()
authorGreg Thelen <gthelen@google.com>
Wed, 12 Dec 2012 21:51:52 +0000 (13:51 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Dec 2012 01:38:33 +0000 (17:38 -0800)
commitf699e1f23d03fcb81ecd98ccd6a5e196fffbd2ff
treeb0b56f8454b400e545f57bb63e767327bc72c788
parent144113282c25273a8b8c8fbf54a8d184a2562096
res_counter: delete res_counter_write()

Since commit 1a5b9b73a3f1 ("memcg: limit change shrink usage") both
res_counter_write() and write_strategy_fn have been unused.  This patch
deletes them both.

Signed-off-by: Greg Thelen <gthelen@google.com>
Cc: Glauber Costa <glommer@parallels.com>
Cc: Tejun Heo <tj@kernel.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Frederic Weisbecker <fweisbec@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/res_counter.h
kernel/res_counter.c