2022-01-30 03:49:59

by CGEL

[permalink] [raw]
Subject: [PATCH] drm/amd/pm: remove duplicate include in 'arcturus_ppt.c'

From: Changcheng Deng <[email protected]>

'amdgpu_dpm.h' included in 'arcturus_ppt.c' is duplicated.

Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Changcheng Deng <[email protected]>
---
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
index ee296441c5bc..709c32063ef7 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
@@ -46,7 +46,6 @@
#include <linux/pci.h>
#include "amdgpu_ras.h"
#include "smu_cmn.h"
-#include "amdgpu_dpm.h"

/*
* DO NOT use these for err/warn/info/debug messages.
--
2.25.1


2022-01-31 11:31:32

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amd/pm: remove duplicate include in 'arcturus_ppt.c'

Applied. thanks!

Alex

On Fri, Jan 28, 2022 at 2:19 AM <[email protected]> wrote:
>
> From: Changcheng Deng <[email protected]>
>
> 'amdgpu_dpm.h' included in 'arcturus_ppt.c' is duplicated.
>
> Reported-by: Zeal Robot <[email protected]>
> Signed-off-by: Changcheng Deng <[email protected]>
> ---
> drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
> index ee296441c5bc..709c32063ef7 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
> @@ -46,7 +46,6 @@
> #include <linux/pci.h>
> #include "amdgpu_ras.h"
> #include "smu_cmn.h"
> -#include "amdgpu_dpm.h"
>
> /*
> * DO NOT use these for err/warn/info/debug messages.
> --
> 2.25.1
>