From fe76249289ac63acec462a649aa5268a7c21ba6d Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 24 Aug 2023 09:57:19 +0200 Subject: Remove unused symbols Signed-off-by: David Oberhollenzer --- tests/mtd-tests/flash_speed.c | 2 +- ubi-utils/ubinfo.c | 1 - 2 files changed, 1 insertion(+), 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; -- cgit v1.2.3