@ -101,10 +101,7 @@ static void do_flash_probe(const char *s)
{
(void)s;
if (flash) {
flash_release(flash);
flash = NULL;
}
do_flash_release(NULL);
if (!(flash = flash_probe())) {
fprintf(stderr, "error: unable to probe the flash device.\n");