mirror of https://github.com/hak5/openwrt.git
otrx: drop unused otrx_create_parse_options function
It was there in case of adding some "create" command options that should be parsed before actually creating the output image. It seems we don't need any at this point so let's drop this function for now. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>openwrt-18.06
parent
146326c454
commit
ab8f20c18d
|
@ -228,9 +228,6 @@ out:
|
|||
* Create
|
||||
**************************************************/
|
||||
|
||||
static void otrx_create_parse_options(int argc, char **argv) {
|
||||
}
|
||||
|
||||
static ssize_t otrx_create_append_file(FILE *trx, const char *in_path) {
|
||||
FILE *in;
|
||||
size_t bytes;
|
||||
|
@ -334,9 +331,6 @@ static int otrx_create(int argc, char **argv) {
|
|||
}
|
||||
trx_path = argv[2];
|
||||
|
||||
optind = 3;
|
||||
otrx_create_parse_options(argc, argv);
|
||||
|
||||
trx = fopen(trx_path, "w+");
|
||||
if (!trx) {
|
||||
fprintf(stderr, "Couldn't open %s\n", trx_path);
|
||||
|
|
Loading…
Reference in New Issue