drm/i915: Eliminate the unused dev_priv->vbt.lvds_vbt
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 May 2018 12:41:36 +0000 (15:41 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 22 May 2018 12:52:35 +0000 (15:52 +0300)
dev_priv->vbt.lvds_vbt is set but never actually used. Kill it.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180508124136.10969-3-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c

index 3302b3d4d974a542924997e44238341255da4694..b86ed6401120e2c00e7ea20cea171703ae3e1c39 100644 (file)
@@ -1049,7 +1049,6 @@ struct intel_vbt_data {
        /* Feature bits */
        unsigned int int_tv_support:1;
        unsigned int lvds_dither:1;
-       unsigned int lvds_vbt:1;
        unsigned int int_crt_support:1;
        unsigned int lvds_use_ssc:1;
        unsigned int int_lvds_support:1;
index 5c863e2714ec54dd36b69b33e03ccb493c2ca7a2..34c805970d7ce24b67bc1b7a9ab6870f5f8e472b 100644 (file)
@@ -267,8 +267,6 @@ parse_lfp_panel_data(struct drm_i915_private *dev_priv,
        if (!lvds_lfp_data_ptrs)
                return;
 
-       dev_priv->vbt.lvds_vbt = 1;
-
        panel_dvo_timing = get_lvds_dvo_timing(lvds_lfp_data,
                                               lvds_lfp_data_ptrs,
                                               panel_type);
@@ -1502,7 +1500,6 @@ init_vbt_defaults(struct drm_i915_private *dev_priv)
 
        /* LFP panel data */
        dev_priv->vbt.lvds_dither = 1;
-       dev_priv->vbt.lvds_vbt = 0;
 
        /* SDVO panel data */
        dev_priv->vbt.sdvo_lvds_vbt_mode = NULL;