tools: kwbimage: Remove unused enums and prototypes
There are more unused enums and function prototypes. Remove them. The function kwbimage_check_params() does not return enum kwbimage_cmd_types, but a boolean value returned as int. Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
@@ -1916,7 +1916,7 @@ static int kwbimage_check_params(struct image_tool_params *params)
|
||||
char *msg = "Configuration file for kwbimage creation omitted";
|
||||
|
||||
fprintf(stderr, "Error:%s - %s\n", params->cmdname, msg);
|
||||
return CFG_INVALID;
|
||||
return 1;
|
||||
}
|
||||
|
||||
return (params->dflag && (params->fflag || params->lflag)) ||
|
||||
|
||||
Reference in New Issue
Block a user