Skip to contentSkip to conversation

drm/amdkfd: Remove unused variable

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

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdkfd: Remove unused variable

Fix an obvious compiler warning.

Fixes b1e6639830bd0 ("drm/amdkfd: remove duplicated PCIE atomics request")
CC 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 -1
index 24db82b61b0b..3322a443dfb2 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
2.17.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): 20190703025028.13588-1-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org

Reviewed-by Oak Zeng
#2 lore raw

Regards,
Oak

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Kuehling, Felix
Sent: Wednesday, July 3, 2019 10:51 AM
To: [email protected]
Cc: Kuehling, Felix <[email protected]>; Xiao, Jack <[email protected]>
Subject: [PATCH 1/1] drm/amdkfd: Remove unused variable

Fix an obvious compiler warning.

Fixes b1e6639830bd0 ("drm/amdkfd: remove duplicated PCIE atomics request")
CC 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
index 24db82b61b0b..3322a443dfb2 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);
 
--

2.17.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