summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-06-29 00:43:45 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-06-29 00:43:45 +0000
commit8909d20b3886b7a3f2298b18ac6be1f5f1bec3fa (patch)
tree4c7d326425cd1e0c0682db7b31de9924068126d0
parent0afd63490c4e81281dbb45d0203aa1c63e41f360 (diff)
remove now unused var
found the hard way by deraadt@ on sparc64
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c1
-rw-r--r--sys/dev/pci/drm/radeon/radeon_kms.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c
index 77f0b5b61f3..e12a51a50a5 100644
--- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c
+++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c
@@ -2002,7 +2002,6 @@ amdgpu_attachhook(struct device *self)
pm_runtime_put_autosuspend(dev->dev);
}
{
- struct drm_fb_helper *fb_helper = (void *)adev->mode_info.rfbdev;
struct wsemuldisplaydev_attach_args aa;
struct rasops_info *ri = &adev->ro;
diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c
index f98f8bb4db5..f8531fa4be5 100644
--- a/sys/dev/pci/drm/radeon/radeon_kms.c
+++ b/sys/dev/pci/drm/radeon/radeon_kms.c
@@ -799,7 +799,6 @@ radeondrm_attachhook(struct device *self)
}
{
- struct drm_fb_helper *fb_helper = (void *)rdev->mode_info.rfbdev;
struct wsemuldisplaydev_attach_args aa;
struct rasops_info *ri = &rdev->ro;