mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
Remove superfluous timer_del() calls
This commit is the result of running the timer-del-timer-free.cocci script on the whole source tree. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Acked-by: Corey Minyard <cminyard@mvista.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20201215154107.3255-4-peter.maydell@linaro.org
This commit is contained in:
@ -184,7 +184,6 @@ static void *net_slirp_timer_new(SlirpTimerCb cb,
|
||||
|
||||
static void net_slirp_timer_free(void *timer, void *opaque)
|
||||
{
|
||||
timer_del(timer);
|
||||
timer_free(timer);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user