summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.h
diff options
context:
space:
mode:
authorCandice Li <candice.li@amd.com>2022-04-27 13:02:45 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-04-29 00:48:44 +0300
commit86e18ac3aee9d0a3deadb6dc0a8685621805ceed (patch)
tree66204f288030f543d863f4dbc44995f7b7346feb /drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.h
parent71199aa47bbccef3eda9940dc6d457ed0268f7d2 (diff)
downloadlinux-86e18ac3aee9d0a3deadb6dc0a8685621805ceed.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.h
index 883f89d57616..cfc1542f63ef 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.h
@@ -25,6 +25,5 @@
#define __AMDGPU_PSP_TA_H__
void amdgpu_ta_if_debugfs_init(struct amdgpu_device *adev);
-void amdgpu_ta_if_debugfs_remove(void);
#endif