Commit a612c405 authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Kill duplicated PNV .get_display_clock_speed() assignment

Somehow we accumulated a duplicated .get_display_clock_speed()
assignment for PNV in
commit 34edce2f ("drm/i915: Add cdclk extraction for g33, g965gm and g4x")

No real harm on having two, we just never reach the second one, so
simply kill it.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1448893432-6978-5-git-send-email-ville.syrjala@linux.intel.comReviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 56f5f700
...@@ -14800,9 +14800,6 @@ static void intel_init_display(struct drm_device *dev) ...@@ -14800,9 +14800,6 @@ static void intel_init_display(struct drm_device *dev)
else if (IS_I945GM(dev) || IS_845G(dev)) else if (IS_I945GM(dev) || IS_845G(dev))
dev_priv->display.get_display_clock_speed = dev_priv->display.get_display_clock_speed =
i9xx_misc_get_display_clock_speed; i9xx_misc_get_display_clock_speed;
else if (IS_PINEVIEW(dev))
dev_priv->display.get_display_clock_speed =
pnv_get_display_clock_speed;
else if (IS_I915GM(dev)) else if (IS_I915GM(dev))
dev_priv->display.get_display_clock_speed = dev_priv->display.get_display_clock_speed =
i915gm_get_display_clock_speed; i915gm_get_display_clock_speed;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment