rtl8188eu: Remove wrapper around spin_lock_init

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-03-05 14:42:30 -06:00
parent 471d5a14a8
commit dc4dbd3a7c
11 changed files with 18 additions and 24 deletions

View file

@ -898,7 +898,7 @@ u8 rtw_init_drv_sw(struct adapter *padapter)
goto exit;
}
/* add for CONFIG_IEEE80211W, none 11w also can use */
_rtw_spinlock_init(&padapter->security_key_mutex);
spin_lock_init(&padapter->security_key_mutex);
/* We don't need to memset padapter->XXX to zero, because adapter is allocated by rtw_zvmalloc(). */
/* memset((unsigned char *)&padapter->securitypriv, 0, sizeof (struct security_priv)); */
@ -929,7 +929,7 @@ u8 rtw_init_drv_sw(struct adapter *padapter)
#endif
#ifdef CONFIG_BR_EXT
_rtw_spinlock_init(&padapter->br_ext_lock);
spin_lock_init(&padapter->br_ext_lock);
#endif /* CONFIG_BR_EXT */
exit: