Yeah, I also noticed the build warning and thanks clean up.

Reviewed-by: Prike Liang <[email protected]>

Thanks,
Prike
> -----Original Message-----
> From: amd-gfx <[email protected]> On Behalf Of Xiao,
> Jack
> Sent: Tuesday, July 02, 2019 2:58 PM
> To: [email protected]
> Cc: Xiao, Jack <[email protected]>
> Subject: [PATCH] drm/amdkfd: remove an unused variable
> 
> Just for cleanup.
> 
> Signed-off-by: Jack Xiao <[email protected]>
> ---
>  drivers/gpu/drm/amd/amdkfd/kfd_device.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> index 24db82b..3322a44 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
> @@ -487,7 +487,6 @@ struct kfd_dev *kgd2kfd_probe(struct kgd_dev *kgd,
>       struct pci_dev *pdev, const struct kfd2kgd_calls *f2g)  {
>       struct kfd_dev *kfd;
> -     int ret;
>       const struct kfd_device_info *device_info =
>                                       lookup_device_info(pdev->device);
> 
> --
> 1.9.1
> 
> _______________________________________________
> amd-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to