Commit 59462a00 authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Eliminate the unused dev_priv->vbt.lvds_vbt

dev_priv->vbt.lvds_vbt is set but never actually used. Kill it.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180508124136.10969-3-ville.syrjala@linux.intel.com
parent 5255e2f8
...@@ -1049,7 +1049,6 @@ struct intel_vbt_data { ...@@ -1049,7 +1049,6 @@ struct intel_vbt_data {
/* Feature bits */ /* Feature bits */
unsigned int int_tv_support:1; unsigned int int_tv_support:1;
unsigned int lvds_dither:1; unsigned int lvds_dither:1;
unsigned int lvds_vbt:1;
unsigned int int_crt_support:1; unsigned int int_crt_support:1;
unsigned int lvds_use_ssc:1; unsigned int lvds_use_ssc:1;
unsigned int int_lvds_support:1; unsigned int int_lvds_support:1;
......
...@@ -267,8 +267,6 @@ parse_lfp_panel_data(struct drm_i915_private *dev_priv, ...@@ -267,8 +267,6 @@ parse_lfp_panel_data(struct drm_i915_private *dev_priv,
if (!lvds_lfp_data_ptrs) if (!lvds_lfp_data_ptrs)
return; return;
dev_priv->vbt.lvds_vbt = 1;
panel_dvo_timing = get_lvds_dvo_timing(lvds_lfp_data, panel_dvo_timing = get_lvds_dvo_timing(lvds_lfp_data,
lvds_lfp_data_ptrs, lvds_lfp_data_ptrs,
panel_type); panel_type);
...@@ -1502,7 +1500,6 @@ init_vbt_defaults(struct drm_i915_private *dev_priv) ...@@ -1502,7 +1500,6 @@ init_vbt_defaults(struct drm_i915_private *dev_priv)
/* LFP panel data */ /* LFP panel data */
dev_priv->vbt.lvds_dither = 1; dev_priv->vbt.lvds_dither = 1;
dev_priv->vbt.lvds_vbt = 0;
/* SDVO panel data */ /* SDVO panel data */
dev_priv->vbt.sdvo_lvds_vbt_mode = NULL; dev_priv->vbt.sdvo_lvds_vbt_mode = NULL;
......
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