Skip to contentSkip to conversation

drm/amdkfd: remove an unused variable

PATCH In review Xiao, Jack 3 participants 3 messages Jul 2, 2019 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

Xiao, Jack

author
#0 lore raw

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
index 24db82b..3322a44 100644
@@ -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

Reviewed-by Prike Liang
#2 lore raw

Yeah, 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 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
index 24db82b..3322a44 100644
@@ -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

Reviewed-by Hawking Zhang
#3 lore raw
In reply to a message not in the archive

Regards,
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
index 24db82b..3322a44 100644
@@ -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