mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
Merge branch 'master' of git://git.denx.de/u-boot-x86
* 'master' of git://git.denx.de/u-boot-x86: sc520: fix build warning about unused temp var
This commit is contained in:
commit
12ae615fba
1 changed files with 2 additions and 3 deletions
|
@ -78,10 +78,9 @@ void sc520_udelay(unsigned long usec)
|
||||||
{
|
{
|
||||||
int m = 0;
|
int m = 0;
|
||||||
long u;
|
long u;
|
||||||
long temp;
|
|
||||||
|
|
||||||
temp = readw(&sc520_mmcr->swtmrmilli);
|
readw(&sc520_mmcr->swtmrmilli);
|
||||||
temp = readw(&sc520_mmcr->swtmrmicro);
|
readw(&sc520_mmcr->swtmrmicro);
|
||||||
|
|
||||||
do {
|
do {
|
||||||
m += readw(&sc520_mmcr->swtmrmilli);
|
m += readw(&sc520_mmcr->swtmrmilli);
|
||||||
|
|
Loading…
Add table
Reference in a new issue