]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/amd/display: Remove redundant header files
authorLiao Yuanhong <liaoyuanhong@vivo.com>
Tue, 19 Aug 2025 14:24:50 +0000 (22:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Aug 2025 17:57:47 +0000 (13:57 -0400)
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>
drivers/gpu/drm/amd/display/dc/dc.h

index eb7019ed92b29b0991c70aa4d1742f5891b4563a..3431dee6389d5da971de41365259376af94e5475 100644 (file)
@@ -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
  */