From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 3/4] drm/i915: Remove if 0'ed static arrays Date: Tue, 3 Dec 2013 18:01:40 +0100 Message-ID: <20131203170140.GL27344@phenom.ffwll.local> References: <1386078421-27117-1-git-send-email-damien.lespiau@intel.com> <1386078421-27117-4-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by gabe.freedesktop.org (Postfix) with ESMTP id 06E2DFB4A3 for ; Tue, 3 Dec 2013 09:00:54 -0800 (PST) Received: by mail-ee0-f53.google.com with SMTP id b57so1657010eek.26 for ; Tue, 03 Dec 2013 09:00:54 -0800 (PST) Content-Disposition: inline In-Reply-To: <1386078421-27117-4-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Damien Lespiau Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Dec 03, 2013 at 01:47:00PM +0000, Damien Lespiau wrote: > Sweeping some dead code away. > > Signed-off-by: Damien Lespiau 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@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