commit | e72714fb20b2bac88e6bc06401a124243791ca08 | [log] [tgz] |
---|---|---|
author | Ilia Mirkin <imirkin@alum.mit.edu> | Sun Mar 13 00:29:07 2011 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Mar 14 11:57:35 2011 -0700 |
tree | d6ba41753faf107a8331bab7a245bbab9b1fc451 | |
parent | 7e901dcd73d73230ad0e66e35fb6f1da244e41f7 [diff] |
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>