diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2011-03-13 05:29:06 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-14 18:57:34 (GMT) |
commit | 7e901dcd73d73230ad0e66e35fb6f1da244e41f7 (patch) | |
tree | 426afa9c7fcd5d3a18cab26ae1c7fd4001dad855 /drivers/ide/ide-pci-generic.c | |
parent | 76be349c0045073bbed4f669f87e36b1d8fda256 (diff) | |
download | linux-fsl-qoriq-7e901dcd73d73230ad0e66e35fb6f1da244e41f7.tar.xz |
staging: rtl8192e: 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 'drivers/ide/ide-pci-generic.c')
0 files changed, 0 insertions, 0 deletions