2019-04-26 00:06:05

by Vatsala Narang

[permalink] [raw]
Subject: [PATCH] staging: rtl8723bs: core: Remove return in void function

Remove return in void function to get rid of checkpatch warning.

Signed-off-by: Vatsala Narang <[email protected]>
---
drivers/staging/rtl8723bs/core/rtw_xmit.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c
index 094d61bcb469..67b9aeda7f3a 100644
--- a/drivers/staging/rtl8723bs/core/rtw_xmit.c
+++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c
@@ -2861,8 +2861,6 @@ void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *pst

/* spin_unlock_bh(&psta->sleep_q.lock); */
spin_unlock_bh(&pxmitpriv->lock);
-
- return;
}

void enqueue_pending_xmitbuf(
--
2.17.1


2019-04-26 00:34:48

by Julia Lawall

[permalink] [raw]
Subject: Re: [PATCH] staging: rtl8723bs: core: Remove return in void function



On Fri, 26 Apr 2019, Vatsala Narang wrote:

> Remove return in void function to get rid of checkpatch warning.
>
> Signed-off-by: Vatsala Narang <[email protected]>

Acked-by: Julia Lawall <[email protected]>

> ---
> drivers/staging/rtl8723bs/core/rtw_xmit.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c
> index 094d61bcb469..67b9aeda7f3a 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_xmit.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c
> @@ -2861,8 +2861,6 @@ void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *pst
>
> /* spin_unlock_bh(&psta->sleep_q.lock); */
> spin_unlock_bh(&pxmitpriv->lock);
> -
> - return;
> }
>
> void enqueue_pending_xmitbuf(
> --
> 2.17.1
>
>