lkml.org 
[lkml]   [2011]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 01/24] staging: ath6kl: Remove NULL check before kfree
On Sat, Mar 12, 2011 at 9:28 PM, Ilia Mirkin <imirkin@alum.mit.edu> wrote:
> This patch was generated by the following semantic patch:
> // <smpl>
> @@ expression E; @@
> - if (E != NULL) { kfree(E); }
> + kfree(E);
>
> @@ expression E; @@
> - if (E != NULL) { kfree(E); E = NULL; }
> + kfree(E);
> + E = NULL;
> // </smpl>
>
> Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>

This is pretty awesome, thanks for using spatch and submitting stuff
for ath6kl :)

Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>

Greg, I'll rebase my next series on top of this patch.

Luis


\
 
 \ /
  Last update: 2011-03-14 18:49    [W:0.144 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site