mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 13:21:45 +00:00
drm/i915: Remove unused variable
commit2293a73ad4
upstream. Removed unused i915 var. Fixes:a273e95721
("drm/i915: Allow switching away via vga-switcheroo if uninitialized") Signed-off-by: Nirmoy Das <nirmoy.das@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230118170624.9326-1-nirmoy.das@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9d98b1608d
commit
3fc5a11460
1 changed files with 0 additions and 2 deletions
|
@ -986,8 +986,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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue