diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 14:43:44 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-29 01:20:02 +0000 |
commit | ea1f2efc581ca2bcac9a5bd0a88e93219e131abe (patch) | |
tree | 2d8041108ced7b185718e8a2f9f4336246f97a53 | |
parent | 9b5482844be0b3df075609a1c1ee05e9b25d702e (diff) | |
download | chrome-ec-ea1f2efc581ca2bcac9a5bd0a88e93219e131abe.tar.gz |
core/host/timer.c: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: Id888c0d9be8a929411ab24717028fbfc701a709f
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729845
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r-- | core/host/timer.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/host/timer.c b/core/host/timer.c index 3c3695cad4..67271c5112 100644 --- a/core/host/timer.c +++ b/core/host/timer.c @@ -90,15 +90,12 @@ int timestamp_expired(timestamp_t deadline, const timestamp_t *now) void timer_init(void) { - if (!time_set) { /* * Start the timer just before the 64-bit rollover to try * and catch 32-bit rollover/truncation bugs. */ - timestamp_t ts = { - .val = 0xFFFFFFF0 - }; + timestamp_t ts = { .val = 0xFFFFFFF0 }; force_time(ts); } |