]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Drop `ret` variable from dm_suspend()
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 18 Feb 2025 04:58:29 +0000 (22:58 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:41:17 +0000 (10:41 -0500)
commit65890cad2edb53b6c3fdb289fbf071faac842070
treef92fa88acfb4fa375f4c17bccbe802f1f5ae1bd0
parent20ea0477686d69721a68315c971378884787fc23
drm/amd/display: Drop `ret` variable from dm_suspend()

The `ret` variable in dm_suspend() doesn't get set and is just used
to return 0.  Drop the needless declaration.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c