[PATCH] drm/amdgpu/fence: Remove redundant 0 value initialization

Markus Elfring Markus.Elfring at web.de
Tue Aug 19 08:55:26 UTC 2025


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

See also once more:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.17-rc2#n94

Regards,
Markus


More information about the amd-gfx mailing list