aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712/recv_linux.c
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-08-02 12:12:04 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-02 14:00:55 +0200
commita0afad481b83690449a119a9384a3b0f54cacf11 (patch)
treeffc289308aec0b15f36203a395c7784269a16a0a /drivers/staging/rtl8712/recv_linux.c
parentstaging: rtl8723bs: Replace hal_btcoex_Initialize() (diff)
downloadlinux-dev-a0afad481b83690449a119a9384a3b0f54cacf11.tar.xz
linux-dev-a0afad481b83690449a119a9384a3b0f54cacf11.zip
staging: rtl8712: r8712_os_recv_resource_alloc(): Change return type
Change return type of function r8712_os_recv_resource_alloc from int to void as its return value is never used. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lore.kernel.org/r/20190802064212.30476-1-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/recv_linux.c')
-rw-r--r--drivers/staging/rtl8712/recv_linux.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/rtl8712/recv_linux.c b/drivers/staging/rtl8712/recv_linux.c
index 70a4dcd4a1e5..aaa77823115a 100644
--- a/drivers/staging/rtl8712/recv_linux.c
+++ b/drivers/staging/rtl8712/recv_linux.c
@@ -29,12 +29,11 @@
/*init os related resource in struct recv_priv*/
/*alloc os related resource in union recv_frame*/
-int r8712_os_recv_resource_alloc(struct _adapter *padapter,
- union recv_frame *precvframe)
+void r8712_os_recv_resource_alloc(struct _adapter *padapter,
+ union recv_frame *precvframe)
{
precvframe->u.hdr.pkt_newalloc = NULL;
precvframe->u.hdr.pkt = NULL;
- return _SUCCESS;
}
/*alloc os related resource in struct recv_buf*/