[PATCH] drm/amdgpu: remove duplicate include in 'amdgpu_device.c'

Alex Deucher alexdeucher at gmail.com
Fri Jan 28 18:47:24 UTC 2022


Applied.  Thanks!

Alex

On Fri, Jan 28, 2022 at 2:05 AM <cgel.zte at gmail.com> wrote:
>
> From: Changcheng Deng <deng.changcheng at zte.com.cn>
>
> 'linux/pci.h' included in 'amdgpu_device.c' is duplicated.
>
> Reported-by: Zeal Robot <zealci at zte.com.cn>
> Signed-off-by: Changcheng Deng <deng.changcheng at zte.com.cn>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index dd5979098e63..289c5c626324 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -56,7 +56,6 @@
>  #include "soc15.h"
>  #include "nv.h"
>  #include "bif/bif_4_1_d.h"
> -#include <linux/pci.h>
>  #include <linux/firmware.h>
>  #include "amdgpu_vf_error.h"
>
> --
> 2.25.1
>


More information about the amd-gfx mailing list