diff --git a/src/hci/commands/image_cmd.c b/src/hci/commands/image_cmd.c index c9a188a2d..1ff3ff49b 100644 --- a/src/hci/commands/image_cmd.c +++ b/src/hci/commands/image_cmd.c @@ -22,7 +22,6 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include #include #include -#include #include #include #include @@ -76,8 +75,6 @@ static int imgfetch_core_exec ( int argc, char **argv, /* Parse URI string */ uri_string = argv[optind]; - if ( ! opts.name ) - opts.name = basename ( uri_string ); /* Parse command line */ if ( argv[ optind + 1 ] != NULL ) {