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:
029bf13
)
staging: unisys: visorutil: Remove null check before kfree
author
Tapasweni Pathak
<tapaswenipathak@gmail.com>
Tue, 21 Oct 2014 04:20:03 +0000
(09:50 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 23 Oct 2014 05:43:46 +0000
(13:43 +0800)
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: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found