diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2011-03-13 05:29:01 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-14 18:57:32 (GMT) |
commit | 306be9e1c167dcd7d6635bd434ee8e63ab22a5d6 (patch) | |
tree | 9fabb2cbd071607a63d1e958c6881efb7eb78d72 /drivers/regulator | |
parent | 56d17639703b4683e3e9be36dff7c6d811f4cbf5 (diff) | |
download | linux-fsl-qoriq-306be9e1c167dcd7d6635bd434ee8e63ab22a5d6.tar.xz |
staging: keucr: 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/regulator')
0 files changed, 0 insertions, 0 deletions