Commit 3c21e627 authored by Hariprasad Kelam's avatar Hariprasad Kelam Committed by Greg Kroah-Hartman

staging: rtl8723bs: hal: sdio_halinit: Remove set but unused varilable pHalData

Remove set but unsed variable pHalData in below functions
_InitOperationMode, SetHwReg8723BS.
Signed-off-by: default avatarHariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4d6d7380
...@@ -606,11 +606,9 @@ static void _initSdioAggregationSetting(struct adapter *padapter) ...@@ -606,11 +606,9 @@ static void _initSdioAggregationSetting(struct adapter *padapter)
static void _InitOperationMode(struct adapter *padapter) static void _InitOperationMode(struct adapter *padapter)
{ {
struct hal_com_data *pHalData;
struct mlme_ext_priv *pmlmeext; struct mlme_ext_priv *pmlmeext;
u8 regBwOpMode = 0; u8 regBwOpMode = 0;
pHalData = GET_HAL_DATA(padapter);
pmlmeext = &padapter->mlmeextpriv; pmlmeext = &padapter->mlmeextpriv;
/* 1 This part need to modified according to the rate set we filtered!! */ /* 1 This part need to modified according to the rate set we filtered!! */
...@@ -1413,7 +1411,6 @@ static void ReadAdapterInfo8723BS(struct adapter *padapter) ...@@ -1413,7 +1411,6 @@ static void ReadAdapterInfo8723BS(struct adapter *padapter)
*/ */
static void SetHwReg8723BS(struct adapter *padapter, u8 variable, u8 *val) static void SetHwReg8723BS(struct adapter *padapter, u8 variable, u8 *val)
{ {
struct hal_com_data *pHalData;
u8 val8; u8 val8;
#if defined(CONFIG_WOWLAN) || defined(CONFIG_AP_WOWLAN) #if defined(CONFIG_WOWLAN) || defined(CONFIG_AP_WOWLAN)
...@@ -1433,8 +1430,6 @@ static void SetHwReg8723BS(struct adapter *padapter, u8 variable, u8 *val) ...@@ -1433,8 +1430,6 @@ static void SetHwReg8723BS(struct adapter *padapter, u8 variable, u8 *val)
#endif #endif
#endif #endif
pHalData = GET_HAL_DATA(padapter);
switch (variable) { switch (variable) {
case HW_VAR_SET_RPWM: case HW_VAR_SET_RPWM:
/* rpwm value only use BIT0(clock bit) , BIT6(Ack bit), and BIT7(Toggle bit) */ /* rpwm value only use BIT0(clock bit) , BIT6(Ack bit), and BIT7(Toggle bit) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment