projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73e1834
)
Staging:rtl8188eu: fix kfree(NULL) is safe this check is probably not required in...
author
Ebru Akagunduz
<
[email protected]
>
Mon, 3 Mar 2014 23:54:15 +0000
(
01:54
+0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 7 Mar 2014 22:42:24 +0000
(14:42 -0800)
Fix checkpatch.pl issues with kfree(NULL) is safe this
check is probably not required in rtw_ap.c
Signed-off-by: Ebru Akagunduz <
[email protected]
>
Acked-by: Paul E. McKenney <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/rtl8188eu/core/rtw_ap.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8188eu/core/rtw_ap.c
b/drivers/staging/rtl8188eu/core/rtw_ap.c
index 0f1c1e5d25dd1a2d2663d5a610d1521cfb78e06a..ff74d0d7efa30674e6c592a2dffbb3a870f0ed2e 100644
(file)
--- a/
drivers/staging/rtl8188eu/core/rtw_ap.c
+++ b/
drivers/staging/rtl8188eu/core/rtw_ap.c
@@
-1339,8
+1339,7
@@
static void update_bcn_wps_ie(struct adapter *padapter)
pnetwork->IELength = wps_offset + (wps_ielen+2) + remainder_ielen;
}
- if (pbackup_remainder_ie)
- kfree(pbackup_remainder_ie);
+ kfree(pbackup_remainder_ie);
}
static void update_bcn_p2p_ie(struct adapter *padapter)