Commit 5ad2af34 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Code cleanup.

parent 46044b48
...@@ -259,8 +259,7 @@ void flash_print_info (flash_info_t * info) ...@@ -259,8 +259,7 @@ void flash_print_info (flash_info_t * info)
break; break;
default: default:
printf ("Unknown Chip Type\n"); printf ("Unknown Chip Type\n");
goto Done; return;
break;
} }
printf (" Size: %ld MB in %d Sectors\n", printf (" Size: %ld MB in %d Sectors\n",
...@@ -275,8 +274,6 @@ void flash_print_info (flash_info_t * info) ...@@ -275,8 +274,6 @@ void flash_print_info (flash_info_t * info)
info->protect[i] ? " (RO)" : " "); info->protect[i] ? " (RO)" : " ");
} }
printf ("\n"); printf ("\n");
Done: ;
} }
/*----------------------------------------------------------------------- /*-----------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment