[Intel-gfx] [PATCH 3/4] drm/i915: Remove if 0'ed static arrays

Daniel Vetter daniel at ffwll.ch
Tue Dec 3 18:01:40 CET 2013


On Tue, Dec 03, 2013 at 01:47:00PM +0000, Damien Lespiau wrote:
> Sweeping some dead code away.
> 
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>

This one and patch 1 merged to dinq, thanks.
-Daniel

> ---
>  drivers/gpu/drm/i915/intel_dp.c | 12 ------------
>  1 file changed, 12 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
> index 7a825db..07fcc9e 100644
> --- a/drivers/gpu/drm/i915/intel_dp.c
> +++ b/drivers/gpu/drm/i915/intel_dp.c
> @@ -1936,18 +1936,6 @@ intel_dp_get_link_status(struct intel_dp *intel_dp, uint8_t link_status[DP_LINK_
>  					      DP_LINK_STATUS_SIZE);
>  }
>  
> -#if 0
> -static char	*voltage_names[] = {
> -	"0.4V", "0.6V", "0.8V", "1.2V"
> -};
> -static char	*pre_emph_names[] = {
> -	"0dB", "3.5dB", "6dB", "9.5dB"
> -};
> -static char	*link_train_names[] = {
> -	"pattern 1", "pattern 2", "idle", "off"
> -};
> -#endif
> -
>  /*
>   * These are source-specific values; current Intel hardware supports
>   * a maximum voltage of 800mV and a maximum pre-emphasis of 6dB
> -- 
> 1.8.3.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list