summaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/include
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-11-26 16:42:49 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-12-05 13:26:13 +0100
commitd43ea3d4d2efd015ae7999168a58796671df4138 (patch)
treea2f05331c4872bea69f51483c185b1e5aef8eb76 /drivers/staging/r8188eu/include
parentd30f4436f364b4ad915ca2c09be07cd0f93ceb44 (diff)
downloadlinux-d43ea3d4d2efd015ae7999168a58796671df4138.tar.bz2
staging: r8188eu: drop return value from issue_probereq_ex
The only caller of issue_probereq_ex does not check the return value. We can remove it and make issue_probereq_ex a void function. Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20221126154253.178275-2-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include')
-rw-r--r--drivers/staging/r8188eu/include/rtw_mlme_ext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/r8188eu/include/rtw_mlme_ext.h b/drivers/staging/r8188eu/include/rtw_mlme_ext.h
index c46fc1a53085..720610bc8fef 100644
--- a/drivers/staging/r8188eu/include/rtw_mlme_ext.h
+++ b/drivers/staging/r8188eu/include/rtw_mlme_ext.h
@@ -512,8 +512,8 @@ void issue_auth(struct adapter *padapter, struct sta_info *psta,
unsigned short status);
void issue_probereq(struct adapter *padapter, struct ndis_802_11_ssid *pssid,
u8 *da);
-s32 issue_probereq_ex(struct adapter *adapter, struct ndis_802_11_ssid *pssid,
- u8 *da, int try_cnt, int wait_ms);
+void issue_probereq_ex(struct adapter *adapter, struct ndis_802_11_ssid *pssid,
+ u8 *da, int try_cnt, int wait_ms);
int issue_nulldata(struct adapter *padapter, unsigned char *da,
unsigned int power_mode, int try_cnt, int wait_ms);
int issue_qos_nulldata(struct adapter *padapter, unsigned char *da,