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)
commitba809007f216ede9b25624d0420b6227b285e497
tree829b463f24651800841c51a9781a999c53f3aece
parent2b8f731849800e3948763ccaff31cceac526789b
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