mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
Remove trailing whitespace
Change-Id: I1ff9418bcf150558ce7c97fafa3a68e5fa59f11e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/31227 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
6
udelay.c
6
udelay.c
@ -92,10 +92,10 @@ static unsigned long measure_os_delay_resolution(void)
|
||||
unsigned long timeusec;
|
||||
struct timeval start, end;
|
||||
unsigned long counter = 0;
|
||||
|
||||
|
||||
gettimeofday(&start, NULL);
|
||||
timeusec = 0;
|
||||
|
||||
|
||||
while (!timeusec && (++counter < 1000000000)) {
|
||||
gettimeofday(&end, NULL);
|
||||
timeusec = 1000000 * (end.tv_sec - start.tv_sec) +
|
||||
@ -115,7 +115,7 @@ static unsigned long measure_delay(unsigned int usecs)
|
||||
{
|
||||
unsigned long timeusec;
|
||||
struct timeval start, end;
|
||||
|
||||
|
||||
gettimeofday(&start, NULL);
|
||||
myusec_delay(usecs);
|
||||
gettimeofday(&end, NULL);
|
||||
|
Reference in New Issue
Block a user