[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.