unsigned long flash_init(void)
 {
-       unsigned long size;
        int i;
 
        /* Init: no FLASHes known */
                flash_info[i].flash_id = FLASH_UNKNOWN;
 
        /* for now, only support the 4 MB Flash SIMM */
-       size = flash_get_size((vu_long *) CONFIG_SYS_FLASH0_BASE,
+       (void)flash_get_size((vu_long *) CONFIG_SYS_FLASH0_BASE,
                              &flash_info[0]);
 
        /*
                      CONFIG_ENV_ADDR + CONFIG_ENV_SIZE - 1, &flash_info[0]);
 #endif
 
-       return /*size */ (CONFIG_SYS_FLASH0_SIZE * 1024 * 1024);
+       return CONFIG_SYS_FLASH0_SIZE * 1024 * 1024;
 }
 
 /*-----------------------------------------------------------------------