diff options
| author | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-13 23:13:17 +0200 |
|---|---|---|
| committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-08-13 23:13:17 +0200 |
| commit | 5ad2af341d1c910fb4d15af59a2beb93513ae3c2 (patch) | |
| tree | 4f228db32df159dc76117a605d89806b9c2495ac | |
| parent | 46044b4817b75c1e26d22fed679e778a044df712 (diff) | |
| download | olio-uboot-2014.01-5ad2af341d1c910fb4d15af59a2beb93513ae3c2.tar.xz olio-uboot-2014.01-5ad2af341d1c910fb4d15af59a2beb93513ae3c2.zip | |
Code cleanup.
| -rw-r--r-- | board/at91rm9200dk/flash.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/board/at91rm9200dk/flash.c b/board/at91rm9200dk/flash.c index 5220fcf5d..f6228ef03 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: ; } /*----------------------------------------------------------------------- |