summaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/include
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2022-10-02 16:35:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-10-20 17:19:49 +0200
commitc55f29446d175049700bdfb41a8d30fa67640d15 (patch)
tree524f0ef0ea7d775bef28fe2f49c5f742358179ce /drivers/staging/r8188eu/include
parenta609750c8bf0e29060862f2f232f775129c31593 (diff)
downloadlinux-c55f29446d175049700bdfb41a8d30fa67640d15.tar.bz2
staging: r8188eu: convert rtw_free_drv_sw() to void
The function rtw_free_drv_sw() always returns _SUCCESS. None of its callers use the return value. Convert the return type of that function from u8 to void. This is part of getting rid of _FAIL / _SUCCESS. Signed-off-by: Michael Straube <straube.linux@gmail.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Link: https://lore.kernel.org/r/20221002143544.7974-3-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include')
-rw-r--r--drivers/staging/r8188eu/include/osdep_intf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/include/osdep_intf.h b/drivers/staging/r8188eu/include/osdep_intf.h
index ce8e1bc4a61c..0f7d74a3ff6d 100644
--- a/drivers/staging/r8188eu/include/osdep_intf.h
+++ b/drivers/staging/r8188eu/include/osdep_intf.h
@@ -43,7 +43,7 @@ int netdev_open(struct net_device *pnetdev);
int netdev_close(struct net_device *pnetdev);
u8 rtw_init_drv_sw(struct adapter *padapter);
-u8 rtw_free_drv_sw(struct adapter *padapter);
+void rtw_free_drv_sw(struct adapter *padapter);
void rtw_reset_drv_sw(struct adapter *padapter);
u32 rtw_start_drv_threads(struct adapter *padapter);