Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261831AbVECVts (ORCPT ); Tue, 3 May 2005 17:49:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261830AbVECVtr (ORCPT ); Tue, 3 May 2005 17:49:47 -0400 Received: from dsl027-180-174.sfo1.dsl.speakeasy.net ([216.27.180.174]:65513 "EHLO cheetah.davemloft.net") by vger.kernel.org with ESMTP id S261823AbVECVs3 (ORCPT ); Tue, 3 May 2005 17:48:29 -0400 Date: Tue, 3 May 2005 14:37:26 -0700 From: "David S. Miller" To: Jesper Juhl Cc: paulus@samba.org, linux-ppp@vger.kernel.org, netdev@oss.sgi.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ppp: remove redundant NULL pointer checks before kfree & vfree Message-Id: <20050503143726.63758ce3.davem@davemloft.net> In-Reply-To: References: X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; sparc-unknown-linux-gnu) X-Face: "_;p5u5aPsO,_Vsx"^v-pEq09'CU4&Dc1$fQExov$62l60cgCc%FnIwD=.UF^a>?5'9Kn[;433QFVV9M..2eN.@4ZWPGbdi<=?[:T>y?SD(R*-3It"Vj:)"dP Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 543 Lines: 14 On Fri, 29 Apr 2005 00:54:44 +0200 (CEST) Jesper Juhl wrote: > kfree() and vfree() can both deal with NULL pointers. This patch removes > redundant NULL pointer checks from the ppp code in drivers/net/ > > Signed-off-by: Jesper Juhl Applied, thanks Jesper. - 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/