aboutsummaryrefslogtreecommitdiff
path: root/tools/kwbimage.c
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-11-08 18:12:45 +0100
committerStefan Roese <sr@denx.de>2021-11-10 12:08:06 +0100
commit56087c1b4dd4bd976b072f069dc4c5f51b3f6f46 (patch)
tree74b1cf829403cc6f71155a978586daa36643b3d0 /tools/kwbimage.c
parent700ea98b2e364a8107a9af962ba39f2eeadfc678 (diff)
downloadu-boot-56087c1b4dd4bd976b072f069dc4c5f51b3f6f46.zip
u-boot-56087c1b4dd4bd976b072f069dc4c5f51b3f6f46.tar.gz
u-boot-56087c1b4dd4bd976b072f069dc4c5f51b3f6f46.tar.bz2
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>
Diffstat (limited to 'tools/kwbimage.c')
-rw-r--r--tools/kwbimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index a176b39..864625d 100644
--- a/tools/kwbimage.c
+++ b/tools/kwbimage.c
@@ -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)) ||