Remove unused error checking code

This commit is contained in:
Dominic Spill
2017-02-04 00:08:48 -07:00
parent bcbb7cc2e3
commit 8902a50245

View File

@ -120,13 +120,6 @@ int main(int argc, char** argv)
usage(); usage();
return EXIT_FAILURE; return EXIT_FAILURE;
} }
if (result != HACKRF_SUCCESS) {
fprintf(stderr, "argument error: %s (%d)\n",
hackrf_error_name(result), result);
usage();
return EXIT_FAILURE;
}
} }
if (path == NULL) { if (path == NULL) {