]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/p2m: Collapse early_alloc_p2m_middle redundant checks.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 30 Mar 2012 18:16:49 +0000 (14:16 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 26 Apr 2012 20:59:49 +0000 (16:59 -0400)
commita6bc319093296a89313d9ea619167194cceae97f
tree765f918b3840d960bf744ba1a5b20cc0f3834bb3
parent43a02b584220273d07722b29bc95a2c88f6bc3d1
xen/p2m: Collapse early_alloc_p2m_middle redundant checks.

At the start of the function we were checking for idx != 0
and bailing out. And later calling extend_brk if idx != 0.

That is unnecessary so remove that checks.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/p2m.c