projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
570e223
)
xl: remove pointless null pointer check
author
Matthew Daley
<mattjd@gmail.com>
Fri, 8 Nov 2013 00:45:11 +0000
(13:45 +1300)
committer
Ian Campbell
<ian.campbell@citrix.com>
Mon, 11 Nov 2013 16:13:57 +0000
(16:13 +0000)
poolinfo is guaranteed non-null here.
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl_cmdimpl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/xl_cmdimpl.c
b/tools/libxl/xl_cmdimpl.c
index 40feb7d73e094ded94809b73b812c65842221ce4..5bd9b154d139a8d09b888603e91f765bb99f5ed3 100644
(file)
--- a/
tools/libxl/xl_cmdimpl.c
+++ b/
tools/libxl/xl_cmdimpl.c
@@
-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;
}