drm/amdgpu: Fix build warning for TA debugfs interface
authorCandice Li <candice.li@amd.com>
Wed, 27 Apr 2022 10:02:45 +0000 (18:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Apr 2022 21:48:44 +0000 (17:48 -0400)
commit86e18ac3aee9d0a3deadb6dc0a8685621805ceed
tree66204f288030f543d863f4dbc44995f7b7346feb
parent71199aa47bbccef3eda9940dc6d457ed0268f7d2
drm/amdgpu: Fix build warning for TA debugfs interface

Remove the redundant codes to fix build warning
when CONFIG_DEBUG_FS is disabled.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.h