From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 11/12] net/netlabel: Correct redundant test Date: Mon, 27 Jul 2009 11:36:21 -0700 (PDT) Message-ID: <20090727.113621.207329776.davem@davemloft.net> References: <200907271337.30401.paul.moore@hp.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: julia@diku.dk, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org To: paul.moore@hp.com Return-path: In-Reply-To: <200907271337.30401.paul.moore@hp.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Paul Moore Date: Mon, 27 Jul 2009 13:37:29 -0400 > On Monday 27 July 2009 12:15:43 pm Julia Lawall wrote: >> From: Julia Lawall >> >> entry was tested for NULL near the beginning of the function, followed by a >> return, and there is no intervening modification of its value. >> >> A simplified version of the semantic match that finds this problem is as >> follows: (http://www.emn.fr/x-info/coccinelle/) ... >> Signed-off-by: Julia Lawall > > Good catch, thanks. > > Acked-by: Paul Moore Applied to net-next-2.6