summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8723bs/include
diff options
context:
space:
mode:
authorShobhit Kukreti <shobhitkukreti@gmail.com>2019-06-22 08:23:08 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-26 09:50:51 +0800
commit864e69d0d108f625a93c1fcded2800f2849cede5 (patch)
tree2e1b40c9e85e8d3d54ea45ac33a6818c1c6a46d2 /drivers/staging/rtl8723bs/include
parent3dadf62ca5b2b5f7c41af06bf8851eaed1adacba (diff)
staging: rtl8723bs: os_dep: Modify return type of function rtw_reset_drv_sw() to void.
The function rtw_reset_drv_sw() return value is set to _SUCCESS. The return value is never checked when the function is called. Modified the return value to void to remove "Unneeded Variable warning of coccicheck. Signed-off-by: Shobhit Kukreti <shobhitkukreti@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/include')
-rw-r--r--drivers/staging/rtl8723bs/include/osdep_intf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/include/osdep_intf.h b/drivers/staging/rtl8723bs/include/osdep_intf.h
index 0ea91a111da3..40313d17a242 100644
--- a/drivers/staging/rtl8723bs/include/osdep_intf.h
+++ b/drivers/staging/rtl8723bs/include/osdep_intf.h
@@ -46,7 +46,7 @@ void devobj_deinit(struct dvobj_priv *pdvobj);
u8 rtw_init_drv_sw(struct adapter *padapter);
u8 rtw_free_drv_sw(struct adapter *padapter);
-u8 rtw_reset_drv_sw(struct adapter *padapter);
+void rtw_reset_drv_sw(struct adapter *padapter);
void rtw_dev_unload(struct adapter *padapter);
u32 rtw_start_drv_threads(struct adapter *padapter);