xen p2m: annotate variable which appears unused
authorIan Campbell <ian.campbell@citrix.com>
Fri, 11 Feb 2011 15:23:58 +0000 (15:23 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 11 Feb 2011 19:46:25 +0000 (14:46 -0500)
commit6b08cfebd3bd346d8a2fd68a2265fc7736849802
treeef88667416dc536887f514fdc3f79a41e9822173
parentb052181a985592f81767f631f9f42accb4b436cd
xen p2m: annotate variable which appears unused

 CC      arch/x86/xen/p2m.o
arch/x86/xen/p2m.c: In function 'm2p_remove_override':
arch/x86/xen/p2m.c:460: warning: 'address' may be used uninitialized in this function
arch/x86/xen/p2m.c: In function 'm2p_add_override':
arch/x86/xen/p2m.c:426: warning: 'address' may be used uninitialized in this function

In actual fact address is inialised in one "if (!PageHighMem(page))"
statement and used in a second and so is always initialised before
use.

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