diff mbox

init-xenstore-domain: remove an unused variable

Message ID 57F3A01B0200007800114D4F@prv-mh.provo.novell.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Beulich Oct. 4, 2016, 10:27 a.m. UTC
Introduced by commit 80dd5b401e ("tools: add --maxmem parameter to
init-xenstore-domain").

Signed-off-by: Jan Beulich <jbeulich@suse.com>

Comments

Wei Liu Oct. 4, 2016, 10:30 a.m. UTC | #1
On Tue, Oct 04, 2016 at 04:27:07AM -0600, Jan Beulich wrote:
> Introduced by commit 80dd5b401e ("tools: add --maxmem parameter to
> init-xenstore-domain").
> 
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Acked + applied.

> 
> --- a/tools/helpers/init-xenstore-domain.c
> +++ b/tools/helpers/init-xenstore-domain.c
> @@ -236,7 +236,6 @@ static int parse_maxmem(xc_interface *xc
>      unsigned long mb = 0, a = 0, b = 0;
>      unsigned long val;
>      unsigned long *res;
> -    char buf[16];
>      char *p;
>      char *s = str;
>  
> 
> 
>
diff mbox

Patch

--- a/tools/helpers/init-xenstore-domain.c
+++ b/tools/helpers/init-xenstore-domain.c
@@ -236,7 +236,6 @@  static int parse_maxmem(xc_interface *xc
     unsigned long mb = 0, a = 0, b = 0;
     unsigned long val;
     unsigned long *res;
-    char buf[16];
     char *p;
     char *s = str;