2022-07-06 09:36:44

by Guo Zhengkui

[permalink] [raw]
Subject: [PATCH] drm/amd/display: remove repeated includes

Remove a repeated "#include <drm/drm_print.h>"

Signed-off-by: Guo Zhengkui <[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.20.1


2022-07-06 13:58:27

by Harry Wentland

[permalink] [raw]
Subject: Re: [PATCH] drm/amd/display: remove repeated includes

On 2022-07-06 05:13, Guo Zhengkui wrote:
> Remove a repeated "#include <drm/drm_print.h>"
>
> Signed-off-by: Guo Zhengkui <[email protected]>

Reviewed-by: Harry Wentland <[email protected]>

Harry

> ---
> 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)

2022-07-06 16:27:09

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amd/display: remove repeated includes

Applied. Thanks!

On Wed, Jul 6, 2022 at 9:49 AM Harry Wentland <[email protected]> wrote:
>
> On 2022-07-06 05:13, Guo Zhengkui wrote:
> > Remove a repeated "#include <drm/drm_print.h>"
> >
> > Signed-off-by: Guo Zhengkui <[email protected]>
>
> Reviewed-by: Harry Wentland <[email protected]>
>
> Harry
>
> > ---
> > 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)
>