The is_valid_p2p_probereq is never referenced in the function body.

Signed-off-by: Luca Ceresoli <l...@lucaceresoli.net>
Cc: Greg Kroah-Hartman <gre...@linux.com>
Cc: Larry Finger <larry.fin...@lwfinger.net>
---
 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 
b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
index ea44255..109c098 100644
--- a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
@@ -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;
 }
-- 
1.9.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to