staging: rtl8723au: 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> Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
935142236d
commit
863eaa79ba
|
@ -51,8 +51,7 @@ static void issue_probereq(struct rtw_adapter *padapter,
|
|||
static int issue_probereq_ex(struct rtw_adapter *padapter,
|
||||
struct cfg80211_ssid *pssid,
|
||||
u8 *da, int try_cnt, int wait_ms);
|
||||
static void issue_probersp(struct rtw_adapter *padapter, unsigned char *da,
|
||||
u8 is_valid_p2p_probereq);
|
||||
static void issue_probersp(struct rtw_adapter *padapter, unsigned char *da);
|
||||
static void issue_auth(struct rtw_adapter *padapter, struct sta_info *psta,
|
||||
unsigned short status);
|
||||
static int issue_deauth_ex(struct rtw_adapter *padapter, u8 *da,
|
||||
|
@ -760,7 +759,7 @@ OnProbeReq23a(struct rtw_adapter *padapter, struct recv_frame *precv_frame)
|
|||
|
||||
if (check_fwstate(pmlmepriv, _FW_LINKED) &&
|
||||
pmlmepriv->cur_network.join_res)
|
||||
issue_probersp(padapter, mgmt->sa, false);
|
||||
issue_probersp(padapter, mgmt->sa);
|
||||
|
||||
out:
|
||||
return _SUCCESS;
|
||||
|
@ -2503,8 +2502,7 @@ _issue_bcn:
|
|||
dump_mgntframe23a(padapter, pmgntframe);
|
||||
}
|
||||
|
||||
static void issue_probersp(struct rtw_adapter *padapter, unsigned char *da,
|
||||
u8 is_valid_p2p_probereq)
|
||||
static void issue_probersp(struct rtw_adapter *padapter, unsigned char *da)
|
||||
{
|
||||
struct xmit_frame *pmgntframe;
|
||||
struct pkt_attrib *pattrib;
|
||||
|
|
Loading…
Reference in a new issue