[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 4/6] libxc: remove pointless null pointer check
ctxt_buf is guaranteed non-null here. Signed-off-by: Matthew Daley <mattjd@xxxxxxxxx> --- tools/libxc/xc_domain.c | 3 +-- 1 file changed, 1 insertion(+), 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; } -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |