Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752329AbYLVASf (ORCPT ); Sun, 21 Dec 2008 19:18:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751439AbYLVASY (ORCPT ); Sun, 21 Dec 2008 19:18:24 -0500 Received: from khc.piap.pl ([195.187.100.11]:39236 "EHLO khc.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751343AbYLVASX (ORCPT ); Sun, 21 Dec 2008 19:18:23 -0500 To: Julia Lawall Cc: jgarzik@pobox.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 7/13] drivers/net/wan: Remove redundant test References: From: Krzysztof Halasa Date: Mon, 22 Dec 2008 01:18:03 +0100 In-Reply-To: (Julia Lawall's message of "Sun\, 21 Dec 2008 16\:39\:15 +0100 \(CET\)") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 562 Lines: 18 Julia Lawall writes: > arg is checked not to be NULL a few lines before. > > A simplified version of the semantic patch that makes this change is as > follows: (http://www.emn.fr/x-info/coccinelle/) > --- > drivers/net/wan/pc300_drv.c | 5 ++--- Impressive. Thanks. -- Krzysztof Halasa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/