From: Lv Ruyi <[email protected]>
'dm_services.h' included in 'freesync,c' is duplicated, so remove one.
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Lv Ruyi <[email protected]>
---
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
Applied. Thanks!
Alex
On Wed, Apr 6, 2022 at 3:29 AM <[email protected]> wrote:
>
> From: Lv Ruyi <[email protected]>
>
> 'dm_services.h' included in 'freesync,c' is duplicated, so remove one.
>
> Reported-by: Zeal Robot <[email protected]>
> Signed-off-by: Lv Ruyi <[email protected]>
> ---
> 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
>