forked from luck/tmp_suning_uos_patched
xen/grant-table: remove unnecessary printing
xen_auto_xlat_grant_frames.vaddr is definitely NULL in this case. So the address printing is unnecessary. Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com> Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
This commit is contained in:
parent
c6875f3aac
commit
574878f98c
|
@ -1363,8 +1363,7 @@ static int gnttab_setup(void)
|
|||
if (xen_feature(XENFEAT_auto_translated_physmap) && gnttab_shared.addr == NULL) {
|
||||
gnttab_shared.addr = xen_auto_xlat_grant_frames.vaddr;
|
||||
if (gnttab_shared.addr == NULL) {
|
||||
pr_warn("gnttab share frames (addr=0x%08lx) is not mapped!\n",
|
||||
(unsigned long)xen_auto_xlat_grant_frames.vaddr);
|
||||
pr_warn("gnttab share frames is not mapped!\n");
|
||||
return -ENOMEM;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user