]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit957dddb0ab819a2aa5fda0631235a713b6b82855
tree66204f288030f543d863f4dbc44995f7b7346feb
parentbc9b4914bc14e63777a91758eeea3c2402028aaa
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