]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/fence: Remove redundant 0 value initialization
authorLiao Yuanhong <liaoyuanhong@vivo.com>
Tue, 19 Aug 2025 08:25:21 +0000 (16:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Aug 2025 17:57:47 +0000 (13:57 -0400)
commitee6ba1e69dd7d969ab36f16d81c930b1a7fbf61c
treed6fc3c6987fc0e7cee070e7fd1073e535bc145a6
parent22dcb283d63d5677a5875d0002d04d2c61720f78
drm/amdgpu/fence: Remove redundant 0 value initialization

The amdgpu_fence struct is already zeroed by kzalloc(). It's redundant to
initialize am_fence->context to 0.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c