diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/cpu/sc520/sc520_timer.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/cpu/sc520/sc520_timer.c b/arch/x86/cpu/sc520/sc520_timer.c index 495a694..41f121f 100644 --- a/arch/x86/cpu/sc520/sc520_timer.c +++ b/arch/x86/cpu/sc520/sc520_timer.c @@ -78,10 +78,9 @@ void sc520_udelay(unsigned long usec) { int m = 0; long u; - long temp; - temp = readw(&sc520_mmcr->swtmrmilli); - temp = readw(&sc520_mmcr->swtmrmicro); + readw(&sc520_mmcr->swtmrmilli); + readw(&sc520_mmcr->swtmrmicro); do { m += readw(&sc520_mmcr->swtmrmilli); |