[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190904210631.13599-1-leandrohr@riseup.net>
Date: Wed, 4 Sep 2019 21:06:31 +0000
From: Leandro Ribeiro <leandrohr@...eup.net>
To: lkcamp@...ts.libreplanetbr.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org
Subject: [PATCH] staging: rtl8723bs: Remove return statement from void function
Fix the following checkpatch warning:
"WARNING: void function return statements are not generally useful"
Signed-off-by: Leandro Ribeiro <leandrohr@...eup.net>
---
drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c b/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
index 79c1e3edb189..7760fd0eb6c9 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
@@ -1406,7 +1406,6 @@ void rtl8723b_set_ap_wowlan_cmd(struct adapter *padapter, u8 enable)
rtl8723b_set_Fw_AP_Offload_Cmd(padapter, enable);
msleep(10);
DBG_871X_LEVEL(_drv_always_, "-%s()-\n", __func__);
- return ;
}
#endif /* CONFIG_AP_WOWLAN */
--
2.20.1
Powered by blists - more mailing lists