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

From: Alex Deucher
Date: Fri Jan 28 2022 - 13:51:02 EST


Applied. thanks!

Alex

On Fri, Jan 28, 2022 at 2:19 AM <cgel.zte@xxxxxxxxx> wrote:
>
> From: Changcheng Deng <deng.changcheng@xxxxxxxxxx>
>
> 'amdgpu_dpm.h' included in 'arcturus_ppt.c' is duplicated.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Changcheng Deng <deng.changcheng@xxxxxxxxxx>
> ---
> 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
>