diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2011-03-13 05:28:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-14 18:57:30 (GMT) |
commit | 4dd53810912089380223c8fbddd83dcb642b6166 (patch) | |
tree | f363735e0a59de482bcdcb160fc4401ab6ae04c3 /drivers/staging/brcm80211 | |
parent | 459d2ea0b5547e55e22c5edff6760ab07c2b3fd1 (diff) | |
download | linux-fsl-qoriq-4dd53810912089380223c8fbddd83dcb642b6166.tar.xz |
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 'drivers/staging/brcm80211')
0 files changed, 0 insertions, 0 deletions