]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: memory_hotplug: no need to check res twice in add_memory
authorSasha Levin <sasha.levin@oracle.com>
Wed, 20 Feb 2013 02:14:09 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:26 +0000 (16:52 +1100)
commitedb3916ebe577e3bb0ddb21700acf5be8e912ff2
treeab6dfaba4cd72ea28d4c4c270f3c02610c1cd784
parentba75215515ce15ea418f5eb165254cc36c7a847f
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>
mm/memory_hotplug.c