diff options
author | Richard Braun <rbraun@sceen.net> | 2016-12-09 01:41:06 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2016-12-09 01:41:06 +0100 |
commit | 39c13b3b84b34e0938220126c8f147d2b0b6ac89 (patch) | |
tree | 92accef33f04f49a01765e00ec026b092ae0c8ca /arch/x86/machine/pit.c | |
parent | 84c92cd2be8bc4aea6c14a186f79c2277f0fd4aa (diff) |
Force brackets around one-line conditional statements
This change was done using astyle, with a few manual editing here and
there.
Diffstat (limited to 'arch/x86/machine/pit.c')
-rw-r--r-- | arch/x86/machine/pit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/machine/pit.c b/arch/x86/machine/pit.c index ea7a1a58..d3fece51 100644 --- a/arch/x86/machine/pit.c +++ b/arch/x86/machine/pit.c @@ -80,8 +80,9 @@ pit_delay(unsigned long usecs) diff = prev - count; prev = count; - if (diff < 0) + if (diff < 0) { diff += PIT_MAX_COUNT; + } total -= diff; } while (total > 0); |