mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
fe8a7390c1
commit
c1dadb8462
11 changed files with 15 additions and 15 deletions
|
@ -67,18 +67,18 @@ static void update_events(RTMRState *tmr, int ch)
|
|||
int i, event;
|
||||
|
||||
if (tmr->tccr[ch] == 0) {
|
||||
return ;
|
||||
return;
|
||||
}
|
||||
if (FIELD_EX8(tmr->tccr[ch], TCCR, CSS) == 0) {
|
||||
/* external clock mode */
|
||||
/* event not happened */
|
||||
return ;
|
||||
return;
|
||||
}
|
||||
if (FIELD_EX8(tmr->tccr[0], TCCR, CSS) == CSS_CASCADING) {
|
||||
/* cascading mode */
|
||||
if (ch == 1) {
|
||||
tmr->next[ch] = none;
|
||||
return ;
|
||||
return;
|
||||
}
|
||||
diff[cmia] = concat_reg(tmr->tcora) - concat_reg(tmr->tcnt);
|
||||
diff[cmib] = concat_reg(tmr->tcorb) - concat_reg(tmr->tcnt);
|
||||
|
@ -384,7 +384,7 @@ static void timer_events(RTMRState *tmr, int ch)
|
|||
tmr->tcorb[ch]) & 0xff;
|
||||
} else {
|
||||
if (ch == 1) {
|
||||
return ;
|
||||
return;
|
||||
}
|
||||
tcnt = issue_event(tmr, ch, 16,
|
||||
concat_reg(tmr->tcnt),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue