diff mbox series

[-next] drm/amd/powerplay: remove duplicate include

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

Commit Message

Wang Hai Aug. 19, 2020, 11:34 a.m. UTC
Remove asic_reg/nbio/nbio_6_1_offset.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/amd/powerplay/hwmgr/vega12_inc.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Alex Deucher Aug. 20, 2020, 6:11 p.m. UTC | #1
Applied.  Thanks!

Alex

On Wed, Aug 19, 2020 at 11:00 PM Quan, Evan <Evan.Quan@amd.com> wrote:
>
> [AMD Official Use Only - Internal Distribution Only]
>
> Reviewed-by: Evan Quan <evan.quan@amd.com>
>
> -----Original Message-----
> From: Wang Hai <wanghai38@huawei.com>
> Sent: Wednesday, August 19, 2020 7:34 PM
> To: Quan, Evan <Evan.Quan@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; Koenig, Christian <Christian.Koenig@amd.com>; airlied@linux.ie; daniel@ffwll.ch
> Cc: amd-gfx@lists.freedesktop.org; dri-devel@lists.freedesktop.org; linux-kernel@vger.kernel.org
> Subject: [PATCH -next] drm/amd/powerplay: remove duplicate include
>
> Remove asic_reg/nbio/nbio_6_1_offset.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/amd/powerplay/hwmgr/vega12_inc.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
> index e6d9e84059e1..0d08c57d3bca 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
> @@ -34,7 +34,6 @@
>  #include "asic_reg/gc/gc_9_2_1_offset.h"
>  #include "asic_reg/gc/gc_9_2_1_sh_mask.h"
>
> -#include "asic_reg/nbio/nbio_6_1_offset.h"
>  #include "asic_reg/nbio/nbio_6_1_offset.h"
>  #include "asic_reg/nbio/nbio_6_1_sh_mask.h"
>
> --
> 2.17.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox series

Patch

diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
index e6d9e84059e1..0d08c57d3bca 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h
@@ -34,7 +34,6 @@ 
 #include "asic_reg/gc/gc_9_2_1_offset.h"
 #include "asic_reg/gc/gc_9_2_1_sh_mask.h"
 
-#include "asic_reg/nbio/nbio_6_1_offset.h"
 #include "asic_reg/nbio/nbio_6_1_offset.h"
 #include "asic_reg/nbio/nbio_6_1_sh_mask.h"