aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712/rtl8712_recv.h
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-07-22 14:53:40 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-25 09:52:01 +0200
commit606c5cf07b7907294e74eb5344fcf489b93983a5 (patch)
tree12b348239762f862939526db90093e6066000288 /drivers/staging/rtl8712/rtl8712_recv.h
parentstaging: rtl8712: r8712_set_802_11_add_wep(): Change return values (diff)
downloadlinux-dev-606c5cf07b7907294e74eb5344fcf489b93983a5.tar.xz
linux-dev-606c5cf07b7907294e74eb5344fcf489b93983a5.zip
staging: rtl8712: r8712_init_recvbuf(): Change return type
Change return type of r8712_init_recvbuf from int to void as it always returned _SUCCESS and this return value was never used at any call site. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lore.kernel.org/r/20190722092341.21030-7-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl8712_recv.h')
-rw-r--r--drivers/staging/rtl8712/rtl8712_recv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl8712_recv.h b/drivers/staging/rtl8712/rtl8712_recv.h
index 6954c5bfbcaf..3e385b2242d8 100644
--- a/drivers/staging/rtl8712/rtl8712_recv.h
+++ b/drivers/staging/rtl8712/rtl8712_recv.h
@@ -136,7 +136,7 @@ union recv_frame {
} u;
};
-int r8712_init_recvbuf(struct _adapter *padapter, struct recv_buf *precvbuf);
+void r8712_init_recvbuf(struct _adapter *padapter, struct recv_buf *precvbuf);
void r8712_rxcmd_event_hdl(struct _adapter *padapter, void *prxcmdbuf);
s32 r8712_signal_scale_mapping(s32 cur_sig);
void r8712_reordering_ctrl_timeout_handler(void *pcontext);