aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2022-10-15 17:24:38 +0200
committerGreg Kroah-Hartman <[email protected]>2022-10-20 17:35:03 +0200
commit6325d858c48d2fefe1c93da36f74b506d7abf71d (patch)
tree64f6f0660277f008ae22543894289ea0378c5f48
parentece8119070de777c7a1685211c8056a2ce6d3df8 (diff)
staging: r8188eu: remove unnecessary return
Remove the return statement at the end of the if branch. We can continue to the final return after the if-else. Signed-off-by: Martin Kaiser <[email protected]> Tested-by: Philipp Hortmann <[email protected]> # Edimax N150 Acked-by: Pavel Skripkin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/r8188eu/core/rtw_mlme_ext.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/r8188eu/core/rtw_mlme_ext.c b/drivers/staging/r8188eu/core/rtw_mlme_ext.c
index 40df0f9982f4..465f51bce0e3 100644
--- a/drivers/staging/r8188eu/core/rtw_mlme_ext.c
+++ b/drivers/staging/r8188eu/core/rtw_mlme_ext.c
@@ -1492,8 +1492,6 @@ unsigned int OnDeAuth(struct adapter *padapter, struct recv_frame *precv_frame)
spin_unlock_bh(&pstapriv->asoc_list_lock);
associated_clients_update(padapter, updated);
-
- return _SUCCESS;
} else {
int ignore_received_deauth = 0;