git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d527a7
)
staging: wlan-ng: Remove NULL check before kfree
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Sun, 13 Mar 2011 05:29:17 +0000
(
00:29
-0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 14 Mar 2011 18:57:38 +0000
(11:57 -0700)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
No differences found