tools/firewire: nosy-dump: remove unused code
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
@@ -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[])
|
|||||||
|
|
||||||
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[])
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
poptPrintUsage(con, stdout, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (output != NULL)
|
if (output != NULL)
|
||||||
fclose(output);
|
fclose(output);
|
||||||
|
Reference in New Issue
Block a user