]> git.baikalelectronics.ru Git - kernel.git/commit
mm: memory_hotplug: no need to check res twice in add_memory
authorSasha Levin <sasha.levin@oracle.com>
Sat, 23 Feb 2013 00:32:48 +0000 (16:32 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 24 Feb 2013 01:50:11 +0000 (17:50 -0800)
commit35ba35c989287fda4a37187c226fec8378a877cc
treedc0b982d118f20289b567aa5647df7320b597aa3
parentfd1103fa8104b3b4ddab3d7a5e983dc6b51fc624
mm: memory_hotplug: no need to check res twice in add_memory

Remove one redundant check of res.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory_hotplug.c