Skip to content

Commit 2293a73

Browse files
nirmoyrodrigovivi
authored andcommitted
drm/i915: Remove unused variable
Removed unused i915 var. Fixes: a273e95 ("drm/i915: Allow switching away via vga-switcheroo if uninitialized") Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Rodrigo Vivi <[email protected]>
1 parent d1d5101 commit 2293a73

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/i915/i915_driver.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,8 +1069,6 @@ static int i915_driver_open(struct drm_device *dev, struct drm_file *file)
10691069
*/
10701070
static void i915_driver_lastclose(struct drm_device *dev)
10711071
{
1072-
struct drm_i915_private *i915 = to_i915(dev);
1073-
10741072
intel_fbdev_restore_mode(dev);
10751073

10761074
vga_switcheroo_process_delayed_switch();

0 commit comments

Comments
 (0)