commit | 39dd3e5d7b09b5a5010ed1aef512f2d58b65cb99 | [log] [tgz] |
---|---|---|
author | Ilia Mirkin <imirkin@alum.mit.edu> | Sun Mar 13 00:29:10 2011 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Mar 14 11:57:36 2011 -0700 |
tree | 82e552323d5d1e38be631a69c51ca3d62bc1d633 | |
parent | ef055f10000c5013d269cac9fc92c200bf314e40 [diff] |
staging: speakup: 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>