mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 17:10:11 +00:00
Code cleanup.
This commit is contained in:
parent
46044b4817
commit
5ad2af341d
1 changed files with 1 additions and 4 deletions
|
@ -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)
|
||||||
info->protect[i] ? " (RO)" : " ");
|
info->protect[i] ? " (RO)" : " ");
|
||||||
}
|
}
|
||||||
printf ("\n");
|
printf ("\n");
|
||||||
|
|
||||||
Done: ;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue