]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgu: remove unused code
authorJesse Zhang <jesse.zhang@amd.com>
Wed, 8 May 2024 10:54:25 +0000 (18:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 May 2024 20:12:01 +0000 (16:12 -0400)
commit269435aef45da369a345d23c28bf1b34134ec7da
treefeca37932728ee9b69e047cf99cf07df66e49ddb
parent1b016f87a8f5387b9b66b05e3e2cfde8b8876bd4
drm/amdgu: remove unused code

The same code is executed when the condition err is true or false,
because the code in the if-then branch and after the if statement is identical

Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c