]> www.infradead.org Git - mtd-utils.git/commitdiff
Remove unused symbols
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Thu, 24 Aug 2023 07:57:19 +0000 (09:57 +0200)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Thu, 24 Aug 2023 07:57:19 +0000 (09:57 +0200)
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
tests/mtd-tests/flash_speed.c
ubi-utils/ubinfo.c

index 5721dfba755565e7a669a6401c093d1d9b2e81f9..3489233096c7533dce5e136044d60598757cd8ef 100644 (file)
@@ -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 = {
index 53519cc1e05bfc7f673295f7adb5510184ffafda..6c5b19edd940c0ac96b24998f199a9787b01622b 100644 (file)
@@ -427,7 +427,6 @@ int main(int argc, char * const argv[])
        if (err)
                goto out_libubi;
 
-out:
        libubi_close(libubi);
        return 0;