Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddbfe749 authored by Stefan Richter's avatar Stefan Richter
Browse files

tools/firewire: nosy-dump: remove unused code

parent 83ef7c75
Loading
Loading
Loading
Loading
+49 −56
Original line number Diff line number Diff line
@@ -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);