[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-4.1-testing] xl: Drop -l option to xl cpupool-list
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # Date 1329155867 0 # Node ID f2543f449a49b8979becbf6888e009973427089a # Parent cccd6c68e1b9527f556deef760713380801db9b5 xl: Drop -l option to xl cpupool-list The implementation (which was a nop) was removed back in 22838:aab67c1c6b87 but this now causes "set but not used" warnings from some compilers. Might as well just nuke the option entirely. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Acked-by: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx> Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> xen-unstable changeset: 24703:b611bff9a8fc Backport-requested-by: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx> Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- diff -r cccd6c68e1b9 -r f2543f449a49 tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Thu Feb 02 13:56:13 2012 +0000 +++ b/tools/libxl/xl_cmdimpl.c Mon Feb 13 17:57:47 2012 +0000 @@ -5444,11 +5444,9 @@ int option_index = 0; static struct option long_options[] = { {"help", 0, 0, 'h'}, - {"long", 0, 0, 'l'}, {"cpus", 0, 0, 'c'}, {0, 0, 0, 0} }; - int opt_long = 0; int opt_cpus = 0; const char *pool = NULL; libxl_cpupoolinfo *poolinfo; @@ -5458,7 +5456,7 @@ int ret = 0; while (1) { - opt = getopt_long(argc, argv, "hlc", long_options, &option_index); + opt = getopt_long(argc, argv, "hc", long_options, &option_index); if (opt == -1) break; @@ -5466,9 +5464,6 @@ case 'h': help("cpupool-list"); return 0; - case 'l': - opt_long = 1; - break; case 'c': opt_cpus = 1; break; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |