|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] libxc: remove pointless null pointer check
commit 570e223242de00d9cf673d719cb68d28e4a1fcdd
Author: Matthew Daley <mattjd@xxxxxxxxx>
AuthorDate: Fri Nov 8 13:45:10 2013 +1300
Commit: Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Mon Nov 11 16:13:54 2013 +0000
libxc: remove pointless null pointer check
ctxt_buf is guaranteed non-null here.
Signed-off-by: Matthew Daley <mattjd@xxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
tools/libxc/xc_domain.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/tools/libxc/xc_domain.c b/tools/libxc/xc_domain.c
index 2cea6e3..1ccafc5 100644
--- a/tools/libxc/xc_domain.c
+++ b/tools/libxc/xc_domain.c
@@ -444,8 +444,7 @@ int xc_domain_hvm_getcontext_partial(xc_interface *xch,
ret = do_domctl(xch, &domctl);
- if ( ctxt_buf )
- xc_hypercall_bounce_post(xch, ctxt_buf);
+ xc_hypercall_bounce_post(xch, ctxt_buf);
return ret ? -1 : 0;
}
--
generated by git-patchbot for /home/xen/git/xen.git#master
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |