diff mbox series

drm/amdgpu: remove some repeated includings

Message ID 20211001101348.1279-1-guozhengkui@vivo.com (mailing list archive)
State New, archived
Headers show
Series drm/amdgpu: remove some repeated includings | expand

Commit Message

Guo Zhengkui Oct. 1, 2021, 10:13 a.m. UTC
Remove two repeated includings in line 46 and 47.

Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Christian König Oct. 1, 2021, 10:15 a.m. UTC | #1
Am 01.10.21 um 12:13 schrieb Guo Zhengkui:
> Remove two repeated includings in line 46 and 47.
>
> Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>

Acked-by: Christian König <christian.koenig@amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> index 291a47f7992a..daa798c5b882 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> @@ -30,34 +30,32 @@
>   
>   #include "soc15.h"
>   #include "gfx_v9_0.h"
>   #include "gmc_v9_0.h"
>   #include "df_v1_7.h"
>   #include "df_v3_6.h"
>   #include "nbio_v6_1.h"
>   #include "nbio_v7_0.h"
>   #include "nbio_v7_4.h"
>   #include "hdp_v4_0.h"
>   #include "vega10_ih.h"
>   #include "vega20_ih.h"
>   #include "sdma_v4_0.h"
>   #include "uvd_v7_0.h"
>   #include "vce_v4_0.h"
>   #include "vcn_v1_0.h"
> -#include "vcn_v2_0.h"
> -#include "jpeg_v2_0.h"
>   #include "vcn_v2_5.h"
>   #include "jpeg_v2_5.h"
>   #include "smuio_v9_0.h"
>   #include "gmc_v10_0.h"
>   #include "gfxhub_v2_0.h"
>   #include "mmhub_v2_0.h"
>   #include "nbio_v2_3.h"
>   #include "nbio_v7_2.h"
>   #include "hdp_v5_0.h"
>   #include "nv.h"
>   #include "navi10_ih.h"
>   #include "gfx_v10_0.h"
>   #include "sdma_v5_0.h"
>   #include "sdma_v5_2.h"
>   #include "vcn_v2_0.h"
>   #include "jpeg_v2_0.h"
Alex Deucher Oct. 1, 2021, 3:26 p.m. UTC | #2
Applied.  Thanks!

Alex

On Fri, Oct 1, 2021 at 6:16 AM Christian König <christian.koenig@amd.com> wrote:
>
> Am 01.10.21 um 12:13 schrieb Guo Zhengkui:
> > Remove two repeated includings in line 46 and 47.
> >
> > Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
>
> Acked-by: Christian König <christian.koenig@amd.com>
>
> > ---
> >   drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 --
> >   1 file changed, 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> > index 291a47f7992a..daa798c5b882 100644
> > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> > @@ -30,34 +30,32 @@
> >
> >   #include "soc15.h"
> >   #include "gfx_v9_0.h"
> >   #include "gmc_v9_0.h"
> >   #include "df_v1_7.h"
> >   #include "df_v3_6.h"
> >   #include "nbio_v6_1.h"
> >   #include "nbio_v7_0.h"
> >   #include "nbio_v7_4.h"
> >   #include "hdp_v4_0.h"
> >   #include "vega10_ih.h"
> >   #include "vega20_ih.h"
> >   #include "sdma_v4_0.h"
> >   #include "uvd_v7_0.h"
> >   #include "vce_v4_0.h"
> >   #include "vcn_v1_0.h"
> > -#include "vcn_v2_0.h"
> > -#include "jpeg_v2_0.h"
> >   #include "vcn_v2_5.h"
> >   #include "jpeg_v2_5.h"
> >   #include "smuio_v9_0.h"
> >   #include "gmc_v10_0.h"
> >   #include "gfxhub_v2_0.h"
> >   #include "mmhub_v2_0.h"
> >   #include "nbio_v2_3.h"
> >   #include "nbio_v7_2.h"
> >   #include "hdp_v5_0.h"
> >   #include "nv.h"
> >   #include "navi10_ih.h"
> >   #include "gfx_v10_0.h"
> >   #include "sdma_v5_0.h"
> >   #include "sdma_v5_2.h"
> >   #include "vcn_v2_0.h"
> >   #include "jpeg_v2_0.h"
>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 291a47f7992a..daa798c5b882 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -30,34 +30,32 @@ 
 
 #include "soc15.h"
 #include "gfx_v9_0.h"
 #include "gmc_v9_0.h"
 #include "df_v1_7.h"
 #include "df_v3_6.h"
 #include "nbio_v6_1.h"
 #include "nbio_v7_0.h"
 #include "nbio_v7_4.h"
 #include "hdp_v4_0.h"
 #include "vega10_ih.h"
 #include "vega20_ih.h"
 #include "sdma_v4_0.h"
 #include "uvd_v7_0.h"
 #include "vce_v4_0.h"
 #include "vcn_v1_0.h"
-#include "vcn_v2_0.h"
-#include "jpeg_v2_0.h"
 #include "vcn_v2_5.h"
 #include "jpeg_v2_5.h"
 #include "smuio_v9_0.h"
 #include "gmc_v10_0.h"
 #include "gfxhub_v2_0.h"
 #include "mmhub_v2_0.h"
 #include "nbio_v2_3.h"
 #include "nbio_v7_2.h"
 #include "hdp_v5_0.h"
 #include "nv.h"
 #include "navi10_ih.h"
 #include "gfx_v10_0.h"
 #include "sdma_v5_0.h"
 #include "sdma_v5_2.h"
 #include "vcn_v2_0.h"
 #include "jpeg_v2_0.h"