drm/amdkfd: remove an unused variable
Subsystems (3)
PATCH 1/1 drm/amdkfd: remove an unused variable
Just for cleanup.
--- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdkfd/kfd_device.c +0 -1
@@ -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);
Signature · 6 lines
1.9.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1562050664-24740-1-git-send-email-Jack.Xiao-5C7GfCeVMHo@public.gmane.org
Liang, Prike
Reviewed-by Prike LiangYeah, I also noticed the build warning and thanks clean up.
Thanks,
Prike
Quoted 30 lines
-----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 variableJust for cleanup.
Signed-off-by Jack Xiao <[email protected]>--- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/amd/amdkfd/kfd_device.c +0
-2@@ -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
Quoted 4 lines
_______________________________________________
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
Zhang, Hawking
Reviewed-by Hawking ZhangRegards,
Hawking
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Xiao, Jack
Sent: 2019年7月2日 14:58
To: [email protected]
Cc: Xiao, Jack <[email protected]>
Subject: [PATCH] drm/amdkfd: remove an unused variable
Just for cleanup.
--- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdkfd/kfd_device.c +0 -2
@@ -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