Code cleanup.

This commit is contained in:
Wolfgang Denk 2005-08-13 23:13:17 +02:00
parent 46044b4817
commit 5ad2af341d

View File

@ -259,8 +259,7 @@ void flash_print_info (flash_info_t * info)
break; break;
default: default:
printf ("Unknown Chip Type\n"); printf ("Unknown Chip Type\n");
goto Done; return;
break;
} }
printf (" Size: %ld MB in %d Sectors\n", printf (" Size: %ld MB in %d Sectors\n",
@ -275,8 +274,6 @@ void flash_print_info (flash_info_t * info)
info->protect[i] ? " (RO)" : " "); info->protect[i] ? " (RO)" : " ");
} }
printf ("\n"); printf ("\n");
Done: ;
} }
/*----------------------------------------------------------------------- /*-----------------------------------------------------------------------