]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/esd/common/auto_update.c
Merge branch 'master' of git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / board / esd / common / auto_update.c
index 85c3567b0ba2774121a85904125803fd8d54763a..b1680741e16b29202089e12378b45eb3df92e3c5 100644 (file)
@@ -377,7 +377,7 @@ int do_auto_update(void)
 {
        block_dev_desc_t *stor_dev = NULL;
        long sz;
-       int i, res, cnt, old_ctrlc;
+       int i, res, old_ctrlc;
        char buffer[32];
        char str[80];
        int n;
@@ -455,7 +455,6 @@ int do_auto_update(void)
                                clear_ctrlc ();
                                break;
                        }
-                       cnt++;
                } while (res < 0);
        }