diff options
author | Simon Glass <sjg@chromium.org> | 2021-11-12 12:28:07 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-01-26 08:50:43 -0700 |
commit | 48422343c88304638d62e543060376b0e443904b (patch) | |
tree | 7b21d3b777aa3cf890a1cfbce4aa47e718b12d62 /tools/image-host.c | |
parent | 70e6bcc43f541fbcb8e878dba8299e8e30943bcd (diff) | |
download | u-boot-48422343c88304638d62e543060376b0e443904b.zip u-boot-48422343c88304638d62e543060376b0e443904b.tar.gz u-boot-48422343c88304638d62e543060376b0e443904b.tar.bz2 |
tools: Drop unused name in image-host
The name is created but never used. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/image-host.c')
-rw-r--r-- | tools/image-host.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/image-host.c b/tools/image-host.c index a5d47a4..f13a944 100644 --- a/tools/image-host.c +++ b/tools/image-host.c @@ -729,7 +729,7 @@ static int fit_config_add_hash(const void *fit, int image_noffset, struct strlist *node_inc, const char *conf_name, const char *sig_name, const char *iname) { - char name[200], path[200]; + char path[200]; int noffset; int hash_count; int ret; @@ -740,9 +740,6 @@ static int fit_config_add_hash(const void *fit, int image_noffset, if (strlist_add(node_inc, path)) goto err_mem; - snprintf(name, sizeof(name), "%s/%s", FIT_CONFS_PATH, - conf_name); - /* Add all this image's hashes */ hash_count = 0; for (noffset = fdt_first_subnode(fit, image_noffset); |