From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH 2/3] drm/i915: Remove an unreachable 'return' Date: Mon, 11 Aug 2014 12:47:52 +0300 Message-ID: <20140811094752.GK4193@intel.com> References: <1407621658-8222-1-git-send-email-damien.lespiau@intel.com> <1407621658-8222-2-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id CFB056E18D for ; Mon, 11 Aug 2014 02:48:15 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1407621658-8222-2-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Damien Lespiau Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Sat, Aug 09, 2014 at 11:00:57PM +0100, Damien Lespiau wrote: > Running smatch adds quite a few checks to what sparse is doing. This is > one of them. > = > Signed-off-by: Damien Lespiau > --- > drivers/gpu/drm/i915/intel_display.c | 1 - > 1 file changed, 1 deletion(-) > = > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/= intel_display.c > index 4b89447..a6af1b2 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -8646,7 +8646,6 @@ void intel_release_load_detect_pipe(struct drm_conn= ector *connector, > } > = > goto unlock; > - return; I have a locking fix that removes the goto and keeps the return :) I'll send it out now. > } > = > /* Switch crtc and encoder back off if necessary */ > -- = > 1.8.3.1 > = > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- = Ville Syrj=E4l=E4 Intel OTC