Explorar el Código

Code cleanup.

Wolfgang Denk hace 19 años
padre
commit
5ad2af341d
Se han modificado 1 ficheros con 1 adiciones y 4 borrados
  1. 1 4
      board/at91rm9200dk/flash.c

+ 1 - 4
board/at91rm9200dk/flash.c

@@ -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;
-		break;
+		return;
 	}
 	}
 
 
 	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:	;
 }
 }
 
 
 /*-----------------------------------------------------------------------
 /*-----------------------------------------------------------------------