]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq/amd-pstate: Drop ret variable from amd_pstate_set_energy_pref_index()
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 9 Dec 2024 18:52:46 +0000 (12:52 -0600)
committerMario Limonciello <mario.limonciello@amd.com>
Wed, 11 Dec 2024 16:44:53 +0000 (10:44 -0600)
commitf8fde687c911a366a6132aed85f4ee6b647b9160
tree578853b1ffd072122321ae5438f7e6a469f3f537
parentfff395796917ac3fe3b4c4607cb74a8dbdc17593
cpufreq/amd-pstate: Drop ret variable from amd_pstate_set_energy_pref_index()

The ret variable is not necessary.

Reviewed-and-tested-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Link: https://lore.kernel.org/r/20241209185248.16301-14-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c