summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8188eu/os_dep/recv_linux.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-08-07 16:06:29 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-07 15:17:58 -0700
commit0b47649c78c09afa43e93e902027d211cd1c6991 (patch)
tree8fbe3c293bed3dfd038e5a29950fdd9e708690b3 /drivers/staging/rtl8188eu/os_dep/recv_linux.c
parent1695cd29b24eca077fa8ae467f1184009ceb9d05 (diff)
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/os_dep/recv_linux.c')
-rw-r--r--drivers/staging/rtl8188eu/os_dep/recv_linux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/recv_linux.c b/drivers/staging/rtl8188eu/os_dep/recv_linux.c
index 4849e6b87a21..49d88455dbb4 100644
--- a/drivers/staging/rtl8188eu/os_dep/recv_linux.c
+++ b/drivers/staging/rtl8188eu/os_dep/recv_linux.c
@@ -29,11 +29,10 @@
#include <usb_ops_linux.h>
/* alloc os related resource in struct recv_frame */
-int rtw_os_recv_resource_alloc(struct recv_frame *precvframe)
+void rtw_os_recv_resource_alloc(struct recv_frame *precvframe)
{
precvframe->pkt_newalloc = NULL;
precvframe->pkt = NULL;
- return _SUCCESS;
}
/* alloc os related resource in struct recv_buf */