Messages in this thread | | | From | "Luis R. Rodriguez" <> | Date | Mon, 14 Mar 2011 10:47:25 -0700 | Subject | Re: [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
| |