mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xl: remove pointless null pointer check
poolinfo is guaranteed non-null here. Signed-off-by: Matthew Daley <mattjd@gmail.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
1 parent
570e223242
commit
bd222b3fd4
1 file changed
+2
-2
@@ -5095,8 +5095,8 @@ static int sched_domain_output(libxl_scheduler sched, int (*output)(int),
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (poolinfo)
|
||||
libxl_cpupoolinfo_list_free(poolinfo, n_pools);
|
||||
|
||||
libxl_cpupoolinfo_list_free(poolinfo, n_pools);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||