drm/i915: Drop the eDP check from intel_dp_connector_destroy()
authorVille Syrjälä <[email protected]>
Mon, 8 Oct 2018 13:46:41 +0000 (16:46 +0300)
committerVille Syrjälä <[email protected]>
Tue, 9 Oct 2018 13:35:22 +0000 (16:35 +0300)
commitbc3213c444153848b3a1fcaccbcf2c2123ce3de7
tree83293cc53edef80d36816d6cab6caf1089a47885
parent19dfe5726bab6d2ef337b3051d5a96868a875ac4
drm/i915: Drop the eDP check from intel_dp_connector_destroy()

As long as the connector was zeroed during allocation calling
intel_panel_fini() is safe even if we haven't initialized
the panel struct explicitly. So let's drop the useless eDP
check from dp connector destruction.

Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Chris Wilson <[email protected]>
drivers/gpu/drm/i915/intel_dp.c