From: Martin Kaiser Date: Mon, 24 Oct 2022 08:14:15 +0000 (+0200) Subject: staging: r8188eu: remove unnecessary return X-Git-Tag: v6.2-rc1~69^2~158 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb2cff04d040eb02555c3c51a045fa31f4cc0e79;p=thirdparty%2Fkernel%2Flinux.git staging: r8188eu: remove unnecessary return Remove a return statement at the end of a function. Signed-off-by: Martin Kaiser Tested-by: Philipp Hortmann # Edimax N150 Link: https://lore.kernel.org/r/20221024081417.66441-16-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/core/rtw_mlme_ext.c b/drivers/staging/r8188eu/core/rtw_mlme_ext.c index 6ac3e41af992f..a93133a9ca567 100644 --- a/drivers/staging/r8188eu/core/rtw_mlme_ext.c +++ b/drivers/staging/r8188eu/core/rtw_mlme_ext.c @@ -852,10 +852,8 @@ static void OnAuthClient(struct adapter *padapter, struct recv_frame *precv_fram return; } - if (go2asoc) { + if (go2asoc) start_clnt_assoc(padapter); - return; - } } static void UpdateBrateTbl(u8 *mbrate)