tools/firewire: nosy-dump: remove unused code

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
Stefan Richter 2010-07-22 11:58:05 +02:00
parent 83ef7c7593
commit ddbfe74958
1 changed files with 50 additions and 57 deletions

View File

@ -903,11 +903,12 @@ set_input_mode(void)
int main(int argc, const char *argv[])
{
uint32_t buf[128 * 1024];
uint32_t filter;
int length, retval, view;
int fd = -1;
FILE *output = NULL, *input = NULL;
poptContext con;
int retval;
int view;
char c;
struct pollfd pollfds[2];
@ -961,11 +962,6 @@ int main(int argc, const char *argv[])
setvbuf(stdout, NULL, _IOLBF, BUFSIZ);
if (1) {
uint32_t buf[128 * 1024];
uint32_t filter;
int length;
filter = ~0;
if (!option_iso)
filter &= ~(1 << TCODE_STREAM_DATA);
@ -1023,9 +1019,6 @@ int main(int argc, const char *argv[])
break;
}
}
} else {
poptPrintUsage(con, stdout, 0);
}
if (output != NULL)
fclose(output);