removed a variable that was not used
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
        FPWV *addr;
        int flag, prot, sect;
        ulong start, now, last;
-       int rcode = 0;
        FUNCPTR_WR absEntry;
 
        load_cmd(IN_RAM_CMD_WRITE);
        last  = get_timer(0);
 
        /* Start erase on unprotected sectors */
-       for (sect = s_first; sect<=s_last && rcode == 0; sect++) {
+       for (sect = s_first; sect<=s_last; sect++) {
 
                if (info->protect[sect] != 0)   /* protected, skip it */
                        continue;
        }
 
        printf (" done\n");
-       return rcode;
+       return 0;
 }
 
 /*-----------------------------------------------------------------------