Commit ddbfe749 authored by Stefan Richter's avatar Stefan Richter

tools/firewire: nosy-dump: remove unused code

Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 83ef7c75
...@@ -903,11 +903,12 @@ set_input_mode(void) ...@@ -903,11 +903,12 @@ set_input_mode(void)
int main(int argc, const char *argv[]) int main(int argc, const char *argv[])
{ {
uint32_t buf[128 * 1024];
uint32_t filter;
int length, retval, view;
int fd = -1; int fd = -1;
FILE *output = NULL, *input = NULL; FILE *output = NULL, *input = NULL;
poptContext con; poptContext con;
int retval;
int view;
char c; char c;
struct pollfd pollfds[2]; struct pollfd pollfds[2];
...@@ -961,11 +962,6 @@ int main(int argc, const char *argv[]) ...@@ -961,11 +962,6 @@ int main(int argc, const char *argv[])
setvbuf(stdout, NULL, _IOLBF, BUFSIZ); setvbuf(stdout, NULL, _IOLBF, BUFSIZ);
if (1) {
uint32_t buf[128 * 1024];
uint32_t filter;
int length;
filter = ~0; filter = ~0;
if (!option_iso) if (!option_iso)
filter &= ~(1 << TCODE_STREAM_DATA); filter &= ~(1 << TCODE_STREAM_DATA);
...@@ -1023,9 +1019,6 @@ int main(int argc, const char *argv[]) ...@@ -1023,9 +1019,6 @@ int main(int argc, const char *argv[])
break; break;
} }
} }
} else {
poptPrintUsage(con, stdout, 0);
}
if (output != NULL) if (output != NULL)
fclose(output); fclose(output);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment