Kyle McMartin 7b2f64
 drivers/gpu/drm/i915/intel_display.c |    2 --
Kyle McMartin 7b2f64
 1 files changed, 0 insertions(+), 2 deletions(-)
Kyle McMartin 7b2f64
Kyle McMartin 7b2f64
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
Kyle McMartin 7b2f64
index 990f065..171a797 100644
Kyle McMartin 7b2f64
--- a/drivers/gpu/drm/i915/intel_display.c
Kyle McMartin 7b2f64
+++ b/drivers/gpu/drm/i915/intel_display.c
Kyle McMartin 7b2f64
@@ -4568,7 +4568,6 @@ void intel_release_load_detect_pipe(struct intel_encoder *intel_encoder,
Kyle McMartin 7b2f64
 				    struct drm_connector *connector, int dpms_mode)
Jesse Keating 7a3296
 {
Kyle McMartin 7b2f64
 	struct drm_encoder *encoder = &intel_encoder->base;
Jesse Keating 7a3296
-	struct drm_device *dev = encoder->dev;
Jesse Keating 7a3296
 	struct drm_crtc *crtc = encoder->crtc;
Jesse Keating 7a3296
 	struct drm_encoder_helper_funcs *encoder_funcs = encoder->helper_private;
Jesse Keating 7a3296
 	struct drm_crtc_helper_funcs *crtc_funcs = crtc->helper_private;
Kyle McMartin 7b2f64
@@ -4578,7 +4577,6 @@ void intel_release_load_detect_pipe(struct intel_encoder *intel_encoder,
Kyle McMartin 7b2f64
 		connector->encoder = NULL;
Jesse Keating 7a3296
 		intel_encoder->load_detect_temp = false;
Jesse Keating 7a3296
 		crtc->enabled = drm_helper_crtc_in_use(crtc);
Jesse Keating 7a3296
-		drm_helper_disable_unused_functions(dev);
Jesse Keating 7a3296
 	}
Jesse Keating 7a3296
 
Kyle McMartin 7b2f64
 	/* Switch crtc and encoder back off if necessary */