commit | 4d527a7adbc47bdc357ddab513861e6a7636755e | [log] [tgz] |
---|---|---|
author | Ilia Mirkin <imirkin@alum.mit.edu> | Sun Mar 13 00:29:16 2011 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Mar 14 11:57:38 2011 -0700 |
tree | 0d87536398e7cf4ee9112cd0886c2b4c55e30bb8 | |
parent | 1d5c536efeb9c109e330209867ae1242d42cdb7b [diff] |
staging: winbond: 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>