diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hci/commands/image_cmd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/hci/commands/image_cmd.c b/src/hci/commands/image_cmd.c index c9a188a2..1ff3ff49 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 <stdlib.h> #include <stdio.h> #include <errno.h> -#include <libgen.h> #include <getopt.h> #include <ipxe/image.h> #include <ipxe/command.h> @@ -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 ) { |