1
0
Fork 0

staging: rtl8188eu: issue_probersp(): remove unused parameter

The is_valid_p2p_probereq is never referenced in the function body.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Luca Ceresoli 2015-06-12 00:20:46 +02:00 committed by Greg Kroah-Hartman
parent 782eddd748
commit 935142236d
1 changed files with 2 additions and 3 deletions

View File

@ -459,8 +459,7 @@ _issue_bcn:
dump_mgntframe(padapter, pmgntframe);
}
static void issue_probersp(struct adapter *padapter, unsigned char *da,
u8 is_valid_p2p_probereq)
static void issue_probersp(struct adapter *padapter, unsigned char *da)
{
struct xmit_frame *pmgntframe;
struct pkt_attrib *pattrib;
@ -2620,7 +2619,7 @@ _issue_probersp:
if (check_fwstate(pmlmepriv, _FW_LINKED) &&
pmlmepriv->cur_network.join_res)
issue_probersp(padapter, get_sa(pframe), is_valid_p2p_probereq);
issue_probersp(padapter, get_sa(pframe));
}
return _SUCCESS;
}