[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 4/4] target/arm: Remove timer_del()/timer_deinit() before
From: |
Richard Henderson |
Subject: |
Re: [PATCH v2 4/4] target/arm: Remove timer_del()/timer_deinit() before timer_free() |
Date: |
Tue, 15 Dec 2020 09:54:54 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 12/15/20 9:41 AM, Peter Maydell wrote:
> The Arm CPU finalize function uses a sequence of timer_del(), timer_deinit(),
> timer_free() to free the timer. The timer_deinit() step in this was always
> unnecessary, and now the timer_del() is implied by timer_free(), so we can
> collapse this down to simply calling timer_free().
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> target/arm/cpu.c | 2 --
> 1 file changed, 2 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~