From 8909d20b3886b7a3f2298b18ac6be1f5f1bec3fa Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 29 Jun 2020 00:43:45 +0000 Subject: remove now unused var found the hard way by deraadt@ on sparc64 --- sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c | 1 - sys/dev/pci/drm/radeon/radeon_kms.c | 1 - 2 files changed, 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; -- cgit v1.2.3