From: Wolfgang Denk Date: Sat, 13 Aug 2005 21:13:17 +0000 (+0200) Subject: Code cleanup. X-Git-Tag: LABEL_2006_03_12_0025~224 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5ad2af341d1c910fb4d15af59a2beb93513ae3c2;p=u-boot Code cleanup. --- diff --git a/board/at91rm9200dk/flash.c b/board/at91rm9200dk/flash.c index 5220fcf5d9..f6228ef03e 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: ; } /*-----------------------------------------------------------------------