From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915/lvds: Remove dead code from failing case Date: Thu, 13 Feb 2014 21:11:38 +0100 Message-ID: <20140213201138.GD17001@phenom.ffwll.local> References: <1392317775-20113-1-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-f45.google.com (mail-ee0-f45.google.com [74.125.83.45]) by gabe.freedesktop.org (Postfix) with ESMTP id 98CF0FAD9E for ; Thu, 13 Feb 2014 12:11:43 -0800 (PST) Received: by mail-ee0-f45.google.com with SMTP id b15so5256060eek.4 for ; Thu, 13 Feb 2014 12:11:42 -0800 (PST) Content-Disposition: inline In-Reply-To: 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: Paulo Zanoni Cc: Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Thu, Feb 13, 2014 at 05:04:48PM -0200, Paulo Zanoni wrote: > 2014-02-13 16:56 GMT-02:00 Damien Lespiau : > > Coverity points out that, if we end up in the 'failed' label, that's > > precisely because we couldn't retrieve a fixed mode (ie fixed_mode is > > NULL) and then "if (fixed_mode)" is always false. > > > > Remove that dead code. > > > > Signed-off-by: Damien Lespiau > > Reviewed-by: Paulo Zanoni Queued for -next, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch