[PATCH 1/1] drm/amdkfd: Remove unused variable
Zeng, Oak
Oak.Zeng at amd.com
Wed Jul 3 03:00:57 UTC 2019
Reviewed-by: Oak Zeng <Oak.Zeng at amd.com>
Regards,
Oak
-----Original Message-----
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Kuehling, Felix
Sent: Wednesday, July 3, 2019 10:51 AM
To: amd-gfx at lists.freedesktop.org
Cc: Kuehling, Felix <Felix.Kuehling at amd.com>; Xiao, Jack <Jack.Xiao at amd.com>
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 <Jack.Xiao at amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling at amd.com>
---
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 24db82b61b0b..3322a443dfb2 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);
--
2.17.1
_______________________________________________
amd-gfx mailing list
amd-gfx at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list