]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: remove is_mca_add for ras_add_bad_pages
authorTao Zhou <tao.zhou1@amd.com>
Fri, 1 Nov 2024 04:09:49 +0000 (12:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:26:48 +0000 (10:26 -0500)
commitd08fb6637014c8e80cfcc1aabc38beac857a1f29
treecc3923d44e41ab9354dcdcff783166bd2c3c9713
parenta8d133e625ceb147a173b6cafc862a9bd4312894
drm/amdgpu: remove is_mca_add for ras_add_bad_pages

Remove unnecessary variable and simplify the logic.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c