diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2011-03-13 06:29:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-14 19:57:37 +0100 |
commit | 794a8946ba2339af09dd1f39c8462c3611bebf77 (patch) | |
tree | 7f154252519102ae5db39c5ad95279ff77ce8af1 /block | |
parent | staging: usbip: Remove NULL check before kfree (diff) | |
download | linux-794a8946ba2339af09dd1f39c8462c3611bebf77.tar.xz linux-794a8946ba2339af09dd1f39c8462c3611bebf77.zip |
staging: vme: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions