accel/tcg: remove redundant TCG_KICK_PERIOD define
PATCH 1/1 accel/tcg: remove redundant TCG_KICK_PERIOD define
The TCG_KICK_PERIOD macro is already defined in tcg-accel-ops-rr.h. Remove it from tcg-accel-ops-rr.c.
Signed-off-by Luc Michel <[email protected]>
--- accel/tcg/tcg-accel-ops-rr.c | 2 -- 1 file changed, 2 deletions(-)
accel/tcg/tcg-accel-ops-rr.c +0 -2
@@ -58,12 +58,10 @@ void rr_kick_vcpu_thread(CPUState *unused)*/ static QEMUTimer *rr_kick_vcpu_timer;static CPUState *rr_current_cpu; -#define TCG_KICK_PERIOD (NANOSECONDS_PER_SECOND / 10) -static inline int64_t rr_next_kick_time (void ) {return qemu_clock_get_ns (QEMU_CLOCK_VIRTUAL ) +TCG_KICK_PERIOD ; }
Signature · 1 line
2.17.1
Quoted 7 lines · Luc Michel
The
TCG_KICK_PERIODmacro is already defined intcg-accel-ops-rr.h. Remove it fromtcg-accel-ops-rr.c.Signed-off-by Luc Michel<[email protected]>--- accel/tcg/tcg-accel-ops-rr.c | 2 -- 1 file changed, 2 deletions(-)
Reviewed-by Richard Henderson <[email protected]>
r~
Quoted 7 lines · Luc Michel
The
TCG_KICK_PERIODmacro is already defined intcg-accel-ops-rr.h. Remove it fromtcg-accel-ops-rr.c.Signed-off-by Luc Michel <[email protected]>--- accel/tcg/tcg-accel-ops-rr.c | 2 -- 1 file changed, 2 deletions(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 7 lines · Luc Michel
The
TCG_KICK_PERIODmacro is already defined intcg-accel-ops-rr.h. Remove it fromtcg-accel-ops-rr.c.Signed-off-by Luc Michel<[email protected]>--- accel/tcg/tcg-accel-ops-rr.c | 2 -- 1 file changed, 2 deletions(-)
Queued.
r~