diff mbox series

drm/amd/dc:: remove duplicate include

Message ID 20220406072840.2488056-1-lv.ruyi@zte.com.cn (mailing list archive)
State New, archived
Headers show
Series drm/amd/dc:: remove duplicate include | expand

Commit Message

CGEL April 6, 2022, 7:28 a.m. UTC
From: Lv Ruyi <lv.ruyi@zte.com.cn>

'dm_services.h' included in 'freesync,c' is duplicated, so remove one.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
---
 drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Alex Deucher April 6, 2022, 1:48 p.m. UTC | #1
Applied.  Thanks!

Alex

On Wed, Apr 6, 2022 at 3:29 AM <cgel.zte@gmail.com> wrote:
>
> From: Lv Ruyi <lv.ruyi@zte.com.cn>
>
> 'dm_services.h' included in 'freesync,c' is duplicated, so remove one.
>
> Reported-by: Zeal Robot <zealci@zte.com.cn>
> Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
> ---
>  drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
> index d72566c6928a..0130f1879116 100644
> --- a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
> +++ b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
> @@ -29,7 +29,6 @@
>  #include "dc.h"
>  #include "mod_freesync.h"
>  #include "core_types.h"
> -#include "dm_services.h"
>
>  #define MOD_FREESYNC_MAX_CONCURRENT_STREAMS  32
>
> --
> 2.25.1
>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
index d72566c6928a..0130f1879116 100644
--- a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
+++ b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
@@ -29,7 +29,6 @@ 
 #include "dc.h"
 #include "mod_freesync.h"
 #include "core_types.h"
-#include "dm_services.h"
 
 #define MOD_FREESYNC_MAX_CONCURRENT_STREAMS  32