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