On 06-07-26, 23:38, Jinseok Kim wrote:
> switch_show_governor() assigns the current governor and frequency
> to local variables before switching governors.
> 
> However, these variables are never referenced afterwards. The function
> does not restore the previous governor or use the saved frequency, as
> backup_governor() and restore_governor() already handle state preservation
> elsewhere.
> 
> Signed-off-by: Jinseok Kim <[email protected]>
> ---
>  tools/testing/selftests/cpufreq/governor.sh | 5 -----
>  1 file changed, 5 deletions(-)

Acked-by: Viresh Kumar <[email protected]>

-- 
viresh

Reply via email to