summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-08-13 23:13:17 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-08-13 23:13:17 +0200
commit5ad2af341d1c910fb4d15af59a2beb93513ae3c2 (patch)
tree4f228db32df159dc76117a605d89806b9c2495ac
parent46044b4817b75c1e26d22fed679e778a044df712 (diff)
Code cleanup.
-rw-r--r--board/at91rm9200dk/flash.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/board/at91rm9200dk/flash.c b/board/at91rm9200dk/flash.c
index 5220fcf5d96..f6228ef03e4 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: ;
}
/*-----------------------------------------------------------------------