From: jsg Date: Wed, 25 Jan 2023 01:56:39 +0000 (+0000) Subject: drm/i915: Remove unused variable X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9bda01b75603f90ca0ffcf2bad9f4dd93086592e;p=openbsd drm/i915: Remove unused variable From Nirmoy Das 92c39d6995923103f952c94ba0e9b859e182d2a8 in linux-6.1.y/6.1.8 2293a73ad4f3b6c37c06713ff1b67659d92ef43d in mainline linux --- 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();