diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2011-03-23 23:42:23 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-24 02:46:24 (GMT) |
commit | c14f35c70e068392ccae0b2d6f755baea5eed4d6 (patch) | |
tree | 1e3265ba63a859ee0b45ae89303afea4de19012c /mm/page_alloc.c | |
parent | 3403968d7a7dc373901cad0cad56b3afcb09cc50 (diff) | |
download | linux-fsl-qoriq-c14f35c70e068392ccae0b2d6f755baea5eed4d6.tar.xz |
memcg: remove impossible conditional when committing
No callsite ever passes a NULL pointer for a struct mem_cgroup * to the
committing function. There is no need to check for it.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions