WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xl: Remove unused variable verbose in inf

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xl: Remove unused variable verbose in info function
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 04 May 2010 13:20:29 -0700
Delivery-date: Tue, 04 May 2010 13:23:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1272969984 -3600
# Node ID 0bc3fee02a5c312e02d46cd7e0c9d22a1f949eb0
# Parent  9ea03a5209ff3c9784f1ca45ca0f9eeaab159347
xl: Remove unused variable verbose in info function

Signed-off-by: Yang Hongyang <yanghy@xxxxxxxxxxxxxx>
---
 tools/libxl/xl_cmdimpl.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff -r 9ea03a5209ff -r 0bc3fee02a5c tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c  Tue May 04 11:44:19 2010 +0100
+++ b/tools/libxl/xl_cmdimpl.c  Tue May 04 11:46:24 2010 +0100
@@ -2713,7 +2713,7 @@ static void output_physinfo(void)
     return;
 }
 
-static void info(int verbose)
+static void info(void)
 {
     output_nodeinfo();
 
@@ -2728,9 +2728,8 @@ static void info(int verbose)
 
 int main_info(int argc, char **argv)
 {
-    int opt, verbose;
-
-    verbose = 0;
+    int opt;
+
     while ((opt = getopt(argc, argv, "h")) != -1) {
         switch (opt) {
         case 'h':
@@ -2742,7 +2741,7 @@ int main_info(int argc, char **argv)
         }
     }
 
-    info(verbose);
+    info();
     exit(0);
 }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xl: Remove unused variable verbose in info function, Xen patchbot-unstable <=