[RFC PATCH 01/11] [TRIVIAL] trace-cmd: Delete the variable iface intrace-listen

From: Yoshihiro YUNOMAE
Date: Mon Aug 19 2013 - 05:42:14 EST


iface in trace-listen is not used any more, so it is deleted.

Signed-off-by: Yoshihiro YUNOMAE <yoshihiro.yunomae.ez@xxxxxxxxxxx>
---
trace-listen.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/trace-listen.c b/trace-listen.c
index 8503b50..dec1c00 100644
--- a/trace-listen.c
+++ b/trace-listen.c
@@ -653,7 +653,6 @@ void trace_listen(int argc, char **argv)
{
char *logfile = NULL;
char *port = NULL;
- char *iface;
int daemon = 0;
int c;

@@ -672,7 +671,7 @@ void trace_listen(int argc, char **argv)
{NULL, 0, NULL, 0}
};

- c = getopt_long (argc-1, argv+1, "+hp:o:d:i:l:D",
+ c = getopt_long (argc-1, argv+1, "+hp:o:d:l:D",
long_options, &option_index);
if (c == -1)
break;
@@ -683,9 +682,6 @@ void trace_listen(int argc, char **argv)
case 'p':
port = optarg;
break;
- case 'i':
- iface = optarg;
- break;
case 'd':
output_dir = optarg;
break;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/