diff options
| author | Ilia Mirkin <imirkin@alum.mit.edu> | 2011-03-13 00:28:54 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-14 11:57:30 -0700 |
| commit | 4dd53810912089380223c8fbddd83dcb642b6166 (patch) | |
| tree | f363735e0a59de482bcdcb160fc4401ab6ae04c3 /kernel/rtmutex-debug.c | |
| parent | 459d2ea0b5547e55e22c5edff6760ab07c2b3fd1 (diff) | |
staging: ath6kl: 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>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions
