diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2011-03-13 00:29:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-14 11:57:35 -0700 |
commit | e72714fb20b2bac88e6bc06401a124243791ca08 (patch) | |
tree | d6ba41753faf107a8331bab7a245bbab9b1fc451 /drivers/staging/rtl8712 | |
parent | 7e901dcd73d73230ad0e66e35fb6f1da244e41f7 (diff) | |
download | blackbird-obmc-linux-e72714fb20b2bac88e6bc06401a124243791ca08.tar.gz blackbird-obmc-linux-e72714fb20b2bac88e6bc06401a124243791ca08.zip |
staging: rtl8192u: 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/staging/rtl8712')
0 files changed, 0 insertions, 0 deletions