aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/renesas_cmt.c
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2022-10-24 15:28:02 +0800
committerLaurent Vivier <laurent@vivier.eu>2022-10-24 13:41:10 +0200
commitc1dadb8462ff5021218f2c1aa015594952f441ca (patch)
treeb263025d7ce8b2da1406793b869388cc9aedeb6f /hw/timer/renesas_cmt.c
parentfe8a7390c10c78b806211d7e36727c461d39a17f (diff)
treewide: Remove the unnecessary space before semicolon
%s/return ;/return; Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com> Message-Id: <20221024072802.457832-1-bmeng@tinylab.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
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;