summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8723bs/include/recv_osdep.h
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-06-10 13:17:01 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-13 11:39:31 +0200
commitd05b53205e96f758be84e3724987be5120bfaa84 (patch)
tree7aff0477bc2d6a42dd1b48334a4396647cd6ec75 /drivers/staging/rtl8723bs/include/recv_osdep.h
parent6c8265009f8593eecd446f8d3e182076ede15fff (diff)
staging: rtl8723bs: Change type of rtw_os_recv_resource_alloc()
Remove assignment of the return value of rtw_os_recv_resource_alloc as this assignment at the call site is never used. Remove return statement from rtw_os_recv_resource_alloc() as its return variable is never used. Change the type of the function to void. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/include/recv_osdep.h')
-rw-r--r--drivers/staging/rtl8723bs/include/recv_osdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/include/recv_osdep.h b/drivers/staging/rtl8723bs/include/recv_osdep.h
index 6fea0e948271..0e1baf170cfb 100644
--- a/drivers/staging/rtl8723bs/include/recv_osdep.h
+++ b/drivers/staging/rtl8723bs/include/recv_osdep.h
@@ -22,7 +22,7 @@ int rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter);
void rtw_free_recv_priv (struct recv_priv *precvpriv);
-int rtw_os_recv_resource_alloc(struct adapter *padapter, union recv_frame *precvframe);
+void rtw_os_recv_resource_alloc(struct adapter *padapter, union recv_frame *precvframe);
void rtw_os_recv_resource_free(struct recv_priv *precvpriv);