Patch by Paul Ruhland, 11 Jun 2004:
[oweals/u-boot.git] / board / xsengine / flash.c
index ac14bfe3c0deff48ea56767086a5886a30cecbc8..bfa287b004cb53cda899ddc4eea2d4109192fb24 100644 (file)
@@ -532,9 +532,7 @@ static int write_word (flash_info_t *info, ulong dest, ulong data)
 {
        vu_long *addr = (vu_long*)(info->start[0]);
        ulong start;
-       ulong rev;
        int flag;
-       int i;
 
        /* Check if Flash is (sufficiently) erased */
        if ((*((vu_long *)dest) & data) != data) {