summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-01-25 01:56:40 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-01-25 01:56:40 +0000
commited76977fee58f0465574911e2dc3880345601cff (patch)
tree90e52240eaa568b52bec568c5f33235dc59b8a3e /sys/dev/pci/drm
parentdc6cf7fb93e1e415f3de6e6ba26f50df595137fc (diff)
drm/i915: Remove unused variable
From Nirmoy Das 92c39d6995923103f952c94ba0e9b859e182d2a8 in linux-6.1.y/6.1.8 2293a73ad4f3b6c37c06713ff1b67659d92ef43d in mainline linux
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/i915/i915_driver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/i915_driver.c b/sys/dev/pci/drm/i915/i915_driver.c
index 85a325804e1..0b387e2a41c 100644
--- a/sys/dev/pci/drm/i915/i915_driver.c
+++ b/sys/dev/pci/drm/i915/i915_driver.c
@@ -1222,8 +1222,6 @@ static int i915_driver_open(struct drm_device *dev, struct drm_file *file)
*/
static void i915_driver_lastclose(struct drm_device *dev)
{
- struct drm_i915_private *i915 = to_i915(dev);
-
intel_fbdev_restore_mode(dev);
vga_switcheroo_process_delayed_switch();