aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/renesas_cmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/renesas_cmt.c')
-rw-r--r--hw/timer/renesas_cmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/renesas_cmt.c b/hw/timer/renesas_cmt.c
index 2e0fd21a36..69eabc678a 100644
--- a/hw/timer/renesas_cmt.c
+++ b/hw/timer/renesas_cmt.c
@@ -57,7 +57,7 @@ static void update_events(RCMTState *cmt, int ch)
if ((cmt->cmstr & (1 << ch)) == 0) {
/* count disable, so not happened next event. */
- return ;
+ return;
}
next_time = cmt->cmcor[ch] - cmt->cmcnt[ch];
next_time *= NANOSECONDS_PER_SECOND;