Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756861Ab1CNRrr (ORCPT ); Mon, 14 Mar 2011 13:47:47 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:45274 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751986Ab1CNRrp (ORCPT ); Mon, 14 Mar 2011 13:47:45 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=Orey+bZ286zX/tikaIc3iAR3RZk8rzibbEzjX2WdwYrpcgChrLdVq3MYmnF2BNgscG XBJqj1hnqIVmYopT5tsHv4L+WvgxJGaicC+w9BekKRo7/7TOHRLGkx9YbKQsLo9gv1LO EKNneTHgCtl9YsUR+hXSJvQg2uPWzNhyl9D2A= MIME-Version: 1.0 In-Reply-To: <1299994157-11191-2-git-send-email-imirkin@alum.mit.edu> References: <20110222145452.GD1331@suse.de> <1299994157-11191-1-git-send-email-imirkin@alum.mit.edu> <1299994157-11191-2-git-send-email-imirkin@alum.mit.edu> From: "Luis R. Rodriguez" Date: Mon, 14 Mar 2011 10:47:25 -0700 Message-ID: Subject: Re: [PATCH 01/24] staging: ath6kl: Remove NULL check before kfree To: Ilia Mirkin , Naveen Singh Cc: Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 825 Lines: 28 On Sat, Mar 12, 2011 at 9:28 PM, Ilia Mirkin wrote: > This patch was generated by the following semantic patch: > // > @@ expression E; @@ > - if (E != NULL) { kfree(E); } > + kfree(E); > > @@ expression E; @@ > - if (E != NULL) { kfree(E); E = NULL; } > + kfree(E); > + E = NULL; > // > > Signed-off-by: Ilia Mirkin This is pretty awesome, thanks for using spatch and submitting stuff for ath6kl :) Acked-by: Luis R. Rodriguez Greg, I'll rebase my next series on top of this patch. Luis -- 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/