aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiao Yuanhong <liaoyuanhong@vivo.com>2025-08-19 22:24:50 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-08-27 13:57:47 -0400
commit8ed5f8d9fe59cc1b1ac267182c3ce7d2210855f4 (patch)
tree8c5a29a5c14855aa4ade00cfe6b91dd0c07a6299
parentdrm/amdgpu/fence: Remove redundant 0 value initialization (diff)
downloadlinux-8ed5f8d9fe59cc1b1ac267182c3ce7d2210855f4.tar.gz
linux-8ed5f8d9fe59cc1b1ac267182c3ce7d2210855f4.zip
drm/amd/display: Remove redundant header files
The header file "dc_stream.h" is already included on line 1507. Remove the redundant include. This is because the header file was initially included towards the latter part of the code. Subsequent commits had to include the header file again earlier in the code. In my opinion, this doesn't count as a fix; it just requires removing the redundant header inclusion. Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index eb7019ed92b2..3431dee6389d 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -1863,8 +1863,6 @@ void dc_3dlut_func_retain(struct dc_3dlut *lut);
void dc_post_update_surfaces_to_stream(
struct dc *dc);
-#include "dc_stream.h"
-
/**
* struct dc_validation_set - Struct to store surface/stream associations for validation
*/