diff options
Diffstat (limited to 'src/core/parseopt.c')
| -rw-r--r-- | src/core/parseopt.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/core/parseopt.c b/src/core/parseopt.c index f953b421d..2739bd87b 100644 --- a/src/core/parseopt.c +++ b/src/core/parseopt.c @@ -115,28 +115,6 @@ int parse_netdev ( const char *text, struct net_device **netdev ) { } /** - * Parse image name - * - * @v text Text - * @ret image Image - * @ret rc Return status code - */ -int parse_image ( const char *text, struct image **image ) { - - /* Sanity check */ - assert ( text != NULL ); - - /* Find network device */ - *image = find_image ( text ); - if ( ! *image ) { - printf ( "\"%s\": no such image\n", text ); - return -ENOENT; - } - - return 0; -} - -/** * Parse flag * * @v text Text (ignored) |
