RE: [PATCH] drm/amdgpu: optimize code about format string in gfx_v10_0_init_microcode()

2021-06-01 Thread Lazar, Lijo
[Public] Reviewed-by: Lijo Lazar -Original Message- From: amd-gfx On Behalf Of Kevin Wang Sent: Monday, May 31, 2021 2:34 PM To: amd-gfx@lists.freedesktop.org Cc: Yin, Tianci (Rico) ; Wang, Kevin(Yang) Subject: [PATCH] drm/amdgpu: optimize code about format string in

[PATCH] drm/amdgpu: optimize code about format string in gfx_v10_0_init_microcode()

2021-05-31 Thread Kevin Wang
the memset() and snprintf() is not necessary. Signed-off-by: Kevin Wang --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index 80729ea8416a..11a64ca