summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
diff options
context:
space:
mode:
authorShreeya Patel <shreeya.patel23498@gmail.com>2017-10-01 13:11:20 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-03 18:22:23 +0200
commit8eb1f34c1cd82af262ef1602d2a328e2a5c6cd47 (patch)
tree2cb26ab70a5ac080ccec34b3c56a3eb51bc9a4e2 /drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
parentf290d491b59c55bec43003648a4df1a64e6292f6 (diff)
downloadlinux-8eb1f34c1cd82af262ef1602d2a328e2a5c6cd47.tar.bz2
Staging: rtl8723bs: Remove unnecessary comments
Remove unnecessary comments which are there to explain why call to memset is in comments. Both of the comments are not needed as they are not very useful. Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/core/rtw_mlme_ext.c')
-rw-r--r--drivers/staging/rtl8723bs/core/rtw_mlme_ext.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
index 6c59fafeb769..9f0921b2779a 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
@@ -474,9 +474,6 @@ int init_mlme_ext_priv(struct adapter *padapter)
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
- /* We don't need to memset padapter->XXX to zero, because adapter is allocated by vzalloc(). */
- /* memset((u8 *)pmlmeext, 0, sizeof(struct mlme_ext_priv)); */
-
pmlmeext->padapter = padapter;
/* fill_fwpriv(padapter, &(pmlmeext->fwpriv)); */