drm/amdgpu: Fix build warning for TA debugfs interface
Subsystems (2)
PATCH 1/1 drm/amdgpu: Fix build warning for TA debugfs interface
Remove the redundant conditional group to fix build warning when CONFIG_DEBUG_FS is disabled.
Reported-by Randy Dunlap <[email protected]>
Signed-off-by Candice Li <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c +0 -2
@@ -305,9 +305,7 @@ static struct dentry *amdgpu_ta_if_debugfs_create(struct amdgpu_device *adev)void amdgpu_ta_if_debugfs_init (struct amdgpu_device *adev) { -#if defined(CONFIG_DEBUG_FS ) dir =amdgpu_ta_if_debugfs_create (adev); -#endif }void amdgpu_ta_if_debugfs_remove (void )
Signature · 1 line
2.17.1