qemu-timer: simplify qemu_run_timers
commit144b97c26cdef7fecd62dae2db6ce312cd493751
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Sep 2012 13:52:44 +0000 (19 15:52 +0200)
committerStefan Hajnoczi <stefanha@gmail.com>
Sun, 23 Sep 2012 06:11:29 +0000 (23 07:11 +0100)
tree0c20892fe9e783961b475ff9f3e2985d136122b8
parentc10600af60865ba6c60987be313102ebb5fcee57
qemu-timer: simplify qemu_run_timers

ptimer_head is an invariant pointer to clock->active_timers.
Remove it, and just reference clock->active_timers directly.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
qemu-timer.c