diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-10-18 16:52:37 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-10-18 16:52:37 +0100 |
commit | e43181a5eb45bf8834a703b8601f93b610ec94ab (patch) | |
tree | 15f6c2908edb90b84ca033e69b309fdf0e71213c /tools/libxc/xc_misc.c | |
parent | f114466a23ceaf058ac13b08e83725e6354bc519 (diff) | |
download | xen-e43181a5eb45bf8834a703b8601f93b610ec94ab.tar.gz xen-e43181a5eb45bf8834a703b8601f93b610ec94ab.tar.bz2 xen-e43181a5eb45bf8834a703b8601f93b610ec94ab.zip |
libxc: remove unnecessary double indirection from xc_readconsolering
The double indirection has been unnecessary since 9867:ec61a8c25429,
there is no possibility of the buffer being reallocated now.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxc/xc_misc.c')
-rw-r--r-- | tools/libxc/xc_misc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/libxc/xc_misc.c b/tools/libxc/xc_misc.c index c2efa377c1..a5f179a403 100644 --- a/tools/libxc/xc_misc.c +++ b/tools/libxc/xc_misc.c @@ -22,13 +22,12 @@ #include <xen/hvm/hvm_op.h> int xc_readconsolering(xc_interface *xch, - char **pbuffer, + char *buffer, unsigned int *pnr_chars, int clear, int incremental, uint32_t *pindex) { int ret; DECLARE_SYSCTL; - char *buffer = *pbuffer; unsigned int nr_chars = *pnr_chars; sysctl.cmd = XEN_SYSCTL_readconsole; |