]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: optimize code about format string in gfx_v10_0_init_microcode()
authorKevin Wang <kevin1.wang@amd.com>
Mon, 31 May 2021 08:44:51 +0000 (16:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Jun 2021 02:55:39 +0000 (22:55 -0400)
commit2b8cf964e914eeb9861396e1f9c9f3c92562e7e8
tree829b463f24651800841c51a9781a999c53f3aece
parent1f0b6dbb6eec067958b2ced896b9c43d5c35accc
drm/amdgpu: optimize code about format string in gfx_v10_0_init_microcode()

the memset() and snprintf() is not necessary.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c