mc146818rtc: simplify check_update_timer
commit6a51d83a17e8213db353dd6756685fd9e3513e13
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 25 Jul 2017 12:35:35 +0000 (25 14:35 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Aug 2017 15:27:33 +0000 (1 17:27 +0200)
tree274c5cab24ed6b775265e4e640be52713eb8d726
parentda3a392f0562c1deffd2bc1258d2893bb397009c
mc146818rtc: simplify check_update_timer

Move all the optimized cases together, since they all have UF=1 in
common.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/timer/mc146818rtc.c