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>
Fri, 6 Apr 2012 21:03:04 +0000 (17:03 -0400)
commitd5096850b47424fb0f1c6a75b8f7184f7169319a
treeec0106474b6a59a5c2e0e63957d0d2f319d4dd69
parentcef4cca551d652b7f69c9d76337c5fae24e069dc
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