[Intel-gfx] [PATCH 7/7] drm/i915: rip out an unused lvds_reg variable

Jani Nikula jani.nikula at linux.intel.com
Fri May 10 13:42:03 CEST 2013


On Tue, 30 Apr 2013, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> Somehow this has been forgotten in
>
> commit 1974cad0ee4ce84e5cb792e49c4f0d9421e0312c
> Author: Daniel Vetter <daniel.vetter at ffwll.ch>
> Date:   Mon Nov 26 17:22:09 2012 +0100
>
>     drm/i915: move is_dual_link_lvds to intel_lvds.c
>

Reviewed-by: Jani Nikula <jani.nikula at intel.com>

> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
>  drivers/gpu/drm/i915/intel_display.c | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index ef0d27b..30f452e 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -651,12 +651,6 @@ intel_g4x_find_best_PLL(const intel_limit_t *limit, struct drm_crtc *crtc,
>  	found = false;
>  
>  	if (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS)) {
> -		int lvds_reg;
> -
> -		if (HAS_PCH_SPLIT(dev))
> -			lvds_reg = PCH_LVDS;
> -		else
> -			lvds_reg = LVDS;
>  		if (intel_is_dual_link_lvds(dev))
>  			clock.p2 = limit->p2.p2_fast;
>  		else
> -- 
> 1.7.11.7
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



More information about the Intel-gfx mailing list