diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-08-07 16:06:29 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-07 15:17:58 -0700 |
commit | 0b47649c78c09afa43e93e902027d211cd1c6991 (patch) | |
tree | 8fbe3c293bed3dfd038e5a29950fdd9e708690b3 /drivers/staging/rtl8188eu/include | |
parent | 1695cd29b24eca077fa8ae467f1184009ceb9d05 (diff) | |
download | op-kernel-dev-0b47649c78c09afa43e93e902027d211cd1c6991.zip op-kernel-dev-0b47649c78c09afa43e93e902027d211cd1c6991.tar.gz |
staging: rtl8188eu: make function void
The return value of rtw_os_recv_resource_alloc() is never checked, so
make it as void. Moreover as of now the function can not fail.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/include')
-rw-r--r-- | drivers/staging/rtl8188eu/include/recv_osdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/include/recv_osdep.h b/drivers/staging/rtl8188eu/include/recv_osdep.h index 0f32005..fdeb603 100644 --- a/drivers/staging/rtl8188eu/include/recv_osdep.h +++ b/drivers/staging/rtl8188eu/include/recv_osdep.h @@ -38,7 +38,7 @@ void rtw_handle_tkip_mic_err(struct adapter *padapter, u8 bgroup); 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 recv_frame *recvfr); +void rtw_os_recv_resource_alloc(struct recv_frame *recvfr); int rtw_os_recvbuf_resource_alloc(struct adapter *adapt, struct recv_buf *buf); |