commit | 4dd53810912089380223c8fbddd83dcb642b6166 | [log] [tgz] |
---|---|---|
author | Ilia Mirkin <imirkin@alum.mit.edu> | Sun Mar 13 00:28:54 2011 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Mar 14 11:57:30 2011 -0700 |
tree | f363735e0a59de482bcdcb160fc4401ab6ae04c3 | |
parent | 459d2ea0b5547e55e22c5edff6760ab07c2b3fd1 [diff] |
staging: ath6kl: Remove NULL check before kfree 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> Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>