Re: [PATCH v2] drm/amdgpu: Fix build warning for TA debugfs interface

2022-04-27 Thread Wang, Yang(Kevin)
[Public] From: amd-gfx on behalf of Candice Li Sent: Wednesday, April 27, 2022 7:22 PM To: amd-gfx@lists.freedesktop.org Cc: Li, Candice Subject: [PATCH v2] drm/amdgpu: Fix build warning for TA debugfs interface Remove the redundant codes to fix build

[PATCH v2] drm/amdgpu: Fix build warning for TA debugfs interface

2022-04-27 Thread Candice Li
Remove the redundant codes to fix build warning when CONFIG_DEBUG_FS is disabled. Reported-by: Randy Dunlap Signed-off-by: Candice Li --- drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c | 43 ++ 1 file changed, 12 insertions(+), 31 deletions(-) diff --git a/drivers/gpu/drm/amd/a