]> 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>
Thu, 7 Feb 2013 01:26:20 +0000 (12:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:22 +0000 (16:46 +1100)
commit210e0dac4b35f9bb4ffc94c03f0a55c3033fa681
tree5755c2ea240e1a0eff9c16356bbe90bf34fa5144
parent106e9baaa64ff2fcf7901ba5b3fb1e0c71183202
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