]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Code cleanup.
authorWolfgang Denk <wd@pollux.denx.de>
Sat, 13 Aug 2005 21:13:17 +0000 (23:13 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Sat, 13 Aug 2005 21:13:17 +0000 (23:13 +0200)
board/at91rm9200dk/flash.c

index 5220fcf5d96435ccc22c959bf08b136e7fe357af..f6228ef03e4511de21daec2b6a62c72c4220a299 100644 (file)
@@ -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:  ;
 }
 
 /*-----------------------------------------------------------------------