Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754453Ab1BVO7y (ORCPT ); Tue, 22 Feb 2011 09:59:54 -0500 Received: from cantor2.suse.de ([195.135.220.15]:51500 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753325Ab1BVO7x (ORCPT ); Tue, 22 Feb 2011 09:59:53 -0500 Date: Tue, 22 Feb 2011 06:54:52 -0800 From: Greg KH To: Ilia Mirkin Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] staging: remove null checks before kfree Message-ID: <20110222145452.GD1331@suse.de> References: <1298364821-18915-1-git-send-email-imirkin@alum.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1298364821-18915-1-git-send-email-imirkin@alum.mit.edu> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 826 Lines: 31 On Tue, Feb 22, 2011 at 03:53:40AM -0500, Ilia Mirkin wrote: > This patch was created with the following semantic patch: > > // > @@ > expression E; > @@ > > - if (E != NULL) kfree(E); > + kfree(E); > // > > Signed-off-by: Ilia Mirkin > --- > > Hi Greg, > > Please let me know if you would rather I split these up by driver instead. > I didn't because I saw that you took staging-wide cleanups before. Please split these up per-driver, it makes it easier to merge and for the individual driver authors to review them. thanks, greg k-h -- 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/