]> rtime.felk.cvut.cz Git - can-eth-gw-linux.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)
commit44e33e8f95171b93968c3ac3cf8516998b1db65d
treeb0b56f8454b400e545f57bb63e767327bc72c788
parent6715ddf94576ff39f5d1cda8d4c568d3b79e82ec
res_counter: delete res_counter_write()

Since commit 628f42355389 ("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