Staging: rtl8188eu: Remove unneeded return statement
This patch removes unnecessary return statement from a void function and hence make it more compatible. This issue is identified by checkpatch.pl Signed-off-by: Somya Anand <somyaanand214@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1ce7948fe1
commit
22e7f1e25b
|
@ -763,7 +763,6 @@ void HT_caps_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE)
|
||||||
else
|
else
|
||||||
pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_2R[i];
|
pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_2R[i];
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void HT_info_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE)
|
void HT_info_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE)
|
||||||
|
@ -784,7 +783,6 @@ void HT_info_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE)
|
||||||
|
|
||||||
pmlmeinfo->HT_info_enable = 1;
|
pmlmeinfo->HT_info_enable = 1;
|
||||||
memcpy(&(pmlmeinfo->HT_info), pIE->data, pIE->Length);
|
memcpy(&(pmlmeinfo->HT_info), pIE->data, pIE->Length);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void HTOnAssocRsp(struct adapter *padapter)
|
void HTOnAssocRsp(struct adapter *padapter)
|
||||||
|
|
Loading…
Reference in a new issue