Fixes the following includecheck warning:
drivers/gpu/drm/amd/display/dc/os_types.h: drm/drm_print.h is included more than once.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: sunliming <[email protected]>
---
drivers/gpu/drm/amd/display/dc/os_types.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/os_types.h b/drivers/gpu/drm/amd/display/dc/os_types.h
index 795dd486b6d6..6b88ae14f1f9 100644
--- a/drivers/gpu/drm/amd/display/dc/os_types.h
+++ b/drivers/gpu/drm/amd/display/dc/os_types.h
@@ -39,8 +39,6 @@
#include <drm/display/drm_dp_helper.h>
#include <drm/drm_print.h>
-#include <drm/drm_print.h>
-
#include "cgs_common.h"
#if defined(__BIG_ENDIAN) && !defined(BIGENDIAN_CPU)
--
2.25.1
Thanks for the patch, but someone else beat you to it.
Alex
On Thu, Jul 7, 2022 at 9:05 AM sunliming <[email protected]> wrote:
>
> Fixes the following includecheck warning:
>
> drivers/gpu/drm/amd/display/dc/os_types.h: drm/drm_print.h is included more than once.
>
> Reported-by: kernel test robot <[email protected]>
> Signed-off-by: sunliming <[email protected]>
> ---
> drivers/gpu/drm/amd/display/dc/os_types.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/os_types.h b/drivers/gpu/drm/amd/display/dc/os_types.h
> index 795dd486b6d6..6b88ae14f1f9 100644
> --- a/drivers/gpu/drm/amd/display/dc/os_types.h
> +++ b/drivers/gpu/drm/amd/display/dc/os_types.h
> @@ -39,8 +39,6 @@
> #include <drm/display/drm_dp_helper.h>
> #include <drm/drm_print.h>
>
> -#include <drm/drm_print.h>
> -
> #include "cgs_common.h"
>
> #if defined(__BIG_ENDIAN) && !defined(BIGENDIAN_CPU)
> --
> 2.25.1
>