summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-08-24 09:57:19 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-08-24 09:57:19 +0200
commitfe76249289ac63acec462a649aa5268a7c21ba6d (patch)
tree00dd29eb843401edc1fa856c70124ef5778fabcf
parentaaadd269c6916e9ed42afcf37b164e203956e487 (diff)
Remove unused symbols
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--tests/mtd-tests/flash_speed.c2
-rw-r--r--ubi-utils/ubinfo.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/mtd-tests/flash_speed.c b/tests/mtd-tests/flash_speed.c
index 5721dfb..3489233 100644
--- a/tests/mtd-tests/flash_speed.c
+++ b/tests/mtd-tests/flash_speed.c
@@ -518,7 +518,7 @@ int main(int argc, char **argv)
* the latency difference when performed on different banks (NOR only).
*/
if (speb >= 0 && mtd.subpage_size == 1) {
- long duration_w, duration_r, rww_duration_w, rww_latency_end;
+ long rww_duration_w, rww_latency_end;
long rww_duration_rnw, rww_duration_r_end;
bool rww_r_end_first;
struct thread_arg write_args_peb = {
diff --git a/ubi-utils/ubinfo.c b/ubi-utils/ubinfo.c
index 53519cc..6c5b19e 100644
--- a/ubi-utils/ubinfo.c
+++ b/ubi-utils/ubinfo.c
@@ -427,7 +427,6 @@ int main(int argc, char * const argv[])
if (err)
goto out_libubi;
-out:
libubi_close(libubi);
return 0;