From: Wolfgang Denk Date: Sat, 13 Aug 2005 21:13:17 +0000 (+0200) Subject: Code cleanup. X-Git-Tag: v2025.01-rc5-pxa1908~23297 X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=5ad2af341d1c910fb4d15af59a2beb93513ae3c2;p=u-boot.git 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: ; } /*-----------------------------------------------------------------------