mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-04 18:40:42 +09:00
Code cleanup.
This commit is contained in:
parent
46044b4817
commit
5ad2af341d
@ -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 New Issue
Block a user