mm/memory.c: remove unused code from do_wp_page()
authorDominik Dingel <dingel@linux.vnet.ibm.com>
Wed, 12 Dec 2012 21:52:37 +0000 (13:52 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Dec 2012 01:38:35 +0000 (17:38 -0800)
commit66521d5aa6c0f74b5e90c21569acbaa8c5ac0998
treed77ac5afdf31d18bcf4e47b14fc19df9a6618f9b
parent816422ad76474fed8052b6f7b905a054d082e59a
mm/memory.c: remove unused code from do_wp_page()

page_mkwrite is initalized with zero and only set once, from that point
exists no way to get to the oom or oom_free_new labels.

[akpm@linux-foundation.org: cleanup]
Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c