From 5ad2af341d1c910fb4d15af59a2beb93513ae3c2 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sat, 13 Aug 2005 23:13:17 +0200 Subject: Code cleanup. --- board/at91rm9200dk/flash.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'board/at91rm9200dk/flash.c') diff --git a/board/at91rm9200dk/flash.c b/board/at91rm9200dk/flash.c index 5220fcf..f6228ef 100644 --- a/board/at91rm9200dk/flash.c +++ b/board/at91rm9200dk/flash.c @@ -259,8 +259,7 @@ void flash_print_info (flash_info_t * info) break; default: printf ("Unknown Chip Type\n"); - goto Done; - break; + return; } printf (" Size: %ld MB in %d Sectors\n", @@ -275,8 +274,6 @@ void flash_print_info (flash_info_t * info) info->protect[i] ? " (RO)" : " "); } printf ("\n"); - -Done: ; } /*----------------------------------------------------------------------- -- cgit v1.1