mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 00:47:56 -04:00
staging: rtl8723bs: core: Remove return variables in rtw_mlme_ext.c
Remove unnecessary local return variables in rtw_mlme_ext.c. Issue found with Coccinelle using ret.cocci. Signed-off-by: Nishka Dasgupta <nishka.dasgupta@yahoo.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5947e900d0
commit
63ff599a76
@@ -3569,7 +3569,6 @@ int issue_nulldata(struct adapter *padapter, unsigned char *da, unsigned int pow
|
||||
*/
|
||||
s32 issue_nulldata_in_interrupt(struct adapter *padapter, u8 *da)
|
||||
{
|
||||
int ret;
|
||||
struct mlme_ext_priv *pmlmeext;
|
||||
struct mlme_ext_info *pmlmeinfo;
|
||||
|
||||
@@ -3581,9 +3580,7 @@ s32 issue_nulldata_in_interrupt(struct adapter *padapter, u8 *da)
|
||||
if (!da)
|
||||
da = get_my_bssid(&(pmlmeinfo->network));
|
||||
|
||||
ret = _issue_nulldata(padapter, da, 0, false);
|
||||
|
||||
return ret;
|
||||
return _issue_nulldata(padapter, da, 0, false);
|
||||
}
|
||||
|
||||
/* when wait_ack is ture, this function shoule be called at process context */
|
||||
|
||||
Reference in New Issue
Block a user