mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
staging: rtl8723bs: hal: rtl8723b_hal_init: Remove set but unused variable
Remove variable pHalData as it is not being used in function. Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7036126aa2
commit
f60cb23f0f
1 changed files with 0 additions and 6 deletions
|
@ -4345,11 +4345,8 @@ void GetHwReg8723B(struct adapter *padapter, u8 variable, u8 *val)
|
|||
*/
|
||||
u8 SetHalDefVar8723B(struct adapter *padapter, enum HAL_DEF_VARIABLE variable, void *pval)
|
||||
{
|
||||
struct hal_com_data *pHalData;
|
||||
u8 bResult;
|
||||
|
||||
|
||||
pHalData = GET_HAL_DATA(padapter);
|
||||
bResult = _SUCCESS;
|
||||
|
||||
switch (variable) {
|
||||
|
@ -4367,11 +4364,8 @@ u8 SetHalDefVar8723B(struct adapter *padapter, enum HAL_DEF_VARIABLE variable, v
|
|||
*/
|
||||
u8 GetHalDefVar8723B(struct adapter *padapter, enum HAL_DEF_VARIABLE variable, void *pval)
|
||||
{
|
||||
struct hal_com_data *pHalData;
|
||||
u8 bResult;
|
||||
|
||||
|
||||
pHalData = GET_HAL_DATA(padapter);
|
||||
bResult = _SUCCESS;
|
||||
|
||||
switch (variable) {
|
||||
|
|
Loading…
Reference in a new issue