diff mbox series

[-next] drm/mediatek: remove duplicate include

Message ID 20200819025829.57545-1-wanghai38@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] drm/mediatek: remove duplicate include | expand

Commit Message

Wang Hai Aug. 19, 2020, 2:58 a.m. UTC
Remove mtk_drm_ddp.h which is included more than once

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
---
 drivers/gpu/drm/mediatek/mtk_drm_drv.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Chun-Kuang Hu Aug. 20, 2020, 11:23 p.m. UTC | #1
Hi, Wang Hai:

Wang Hai <wanghai38@huawei.com> 於 2020年8月19日 週三 上午11:00寫道:
>
> Remove mtk_drm_ddp.h which is included more than once
>

Reviewed-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>

> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Wang Hai <wanghai38@huawei.com>
> ---
>  drivers/gpu/drm/mediatek/mtk_drm_drv.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> index 040a8f393fe2..a34fd805ce6d 100644
> --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> @@ -27,7 +27,6 @@
>
>  #include "mtk_drm_crtc.h"
>  #include "mtk_drm_ddp.h"
> -#include "mtk_drm_ddp.h"
>  #include "mtk_drm_ddp_comp.h"
>  #include "mtk_drm_drv.h"
>  #include "mtk_drm_gem.h"
> --
> 2.17.1
>
Chun-Kuang Hu Aug. 26, 2020, 11:03 p.m. UTC | #2
Hi, Wang Hai:

Chun-Kuang Hu <chunkuang.hu@kernel.org> 於 2020年8月21日 週五 上午7:23寫道:
>
> Hi, Wang Hai:
>
> Wang Hai <wanghai38@huawei.com> 於 2020年8月19日 週三 上午11:00寫道:
> >
> > Remove mtk_drm_ddp.h which is included more than once
> >
>
> Reviewed-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
>

Applied to mediatek-drm-fixes [1], thanks.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-fixes

Regards,
Chun-Kuang.

> > Reported-by: Hulk Robot <hulkci@huawei.com>
> > Signed-off-by: Wang Hai <wanghai38@huawei.com>
> > ---
> >  drivers/gpu/drm/mediatek/mtk_drm_drv.c | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> > index 040a8f393fe2..a34fd805ce6d 100644
> > --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> > +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> > @@ -27,7 +27,6 @@
> >
> >  #include "mtk_drm_crtc.h"
> >  #include "mtk_drm_ddp.h"
> > -#include "mtk_drm_ddp.h"
> >  #include "mtk_drm_ddp_comp.h"
> >  #include "mtk_drm_drv.h"
> >  #include "mtk_drm_gem.h"
> > --
> > 2.17.1
> >
diff mbox series

Patch

diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
index 040a8f393fe2..a34fd805ce6d 100644
--- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
+++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
@@ -27,7 +27,6 @@ 
 
 #include "mtk_drm_crtc.h"
 #include "mtk_drm_ddp.h"
-#include "mtk_drm_ddp.h"
 #include "mtk_drm_ddp_comp.h"
 #include "mtk_drm_drv.h"
 #include "mtk_drm_gem.h"