* [PATCH 0/2] Remove return statement from void function
@ 2016-09-24 20:34 Georgiana Rodica Chelu
2016-09-24 20:35 ` [PATCH 1/2] staging: rtl8188eu: core: rtw_mlme: " Georgiana Rodica Chelu
2016-09-24 20:35 ` [PATCH 2/2] staging: rtl8188eu: core: rtw_security: " Georgiana Rodica Chelu
0 siblings, 2 replies; 3+ messages in thread
From: Georgiana Rodica Chelu @ 2016-09-24 20:34 UTC (permalink / raw)
To: outreachy-kernel; +Cc: gregkh
Remove all the return statements from void function in staging/rtl8188eu
driver. The purpose of the patches is to clean up the code.
Georgiana Rodica Chelu (2):
staging: rtl8188eu: core: rtw_mlme: Remove return statement from void
function
staging: rtl8188eu: core: rtw_security: Remove return statement from
void function
drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 --
drivers/staging/rtl8188eu/core/rtw_security.c | 1 -
2 files changed, 3 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 1/2] staging: rtl8188eu: core: rtw_mlme: Remove return statement from void function
2016-09-24 20:34 [PATCH 0/2] Remove return statement from void function Georgiana Rodica Chelu
@ 2016-09-24 20:35 ` Georgiana Rodica Chelu
2016-09-24 20:35 ` [PATCH 2/2] staging: rtl8188eu: core: rtw_security: " Georgiana Rodica Chelu
1 sibling, 0 replies; 3+ messages in thread
From: Georgiana Rodica Chelu @ 2016-09-24 20:35 UTC (permalink / raw)
To: outreachy-kernel; +Cc: gregkh
Remove the return statement from the end of a void function
to clean up the code.
Issue found by checkpatch.pl script.
Signed-off-by: Georgiana Rodica Chelu <georgiana.chelu93@gmail.com>
---
drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b/drivers/staging/rtl8188eu/core/rtw_mlme.c
index 249568c..ee2dcd0 100644
--- a/drivers/staging/rtl8188eu/core/rtw_mlme.c
+++ b/drivers/staging/rtl8188eu/core/rtw_mlme.c
@@ -259,7 +259,6 @@ void rtw_generate_random_ibss(u8 *pibss)
pibss[3] = (u8)(curtime & 0xff);/* p[0]; */
pibss[4] = (u8)((curtime>>8) & 0xff);/* p[1]; */
pibss[5] = (u8)((curtime>>16) & 0xff);/* p[2]; */
- return;
}
u8 *rtw_get_capability_from_ie(u8 *ie)
@@ -557,7 +556,6 @@ static int rtw_is_desired_network(struct adapter *adapter, struct wlan_network *
void rtw_atimdone_event_callback(struct adapter *adapter, u8 *pbuf)
{
RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("receive atimdone_evet\n"));
- return;
}
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 2/2] staging: rtl8188eu: core: rtw_security: Remove return statement from void function
2016-09-24 20:34 [PATCH 0/2] Remove return statement from void function Georgiana Rodica Chelu
2016-09-24 20:35 ` [PATCH 1/2] staging: rtl8188eu: core: rtw_mlme: " Georgiana Rodica Chelu
@ 2016-09-24 20:35 ` Georgiana Rodica Chelu
1 sibling, 0 replies; 3+ messages in thread
From: Georgiana Rodica Chelu @ 2016-09-24 20:35 UTC (permalink / raw)
To: outreachy-kernel; +Cc: gregkh
Remove the return statement from the end of a void function
to clean up the code.
Issue found by checkpatch.pl script.
Signed-off-by: Georgiana Rodica Chelu <georgiana.chelu93@gmail.com>
---
drivers/staging/rtl8188eu/core/rtw_security.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/rtl8188eu/core/rtw_security.c b/drivers/staging/rtl8188eu/core/rtw_security.c
index 442a614..85bb441 100644
--- a/drivers/staging/rtl8188eu/core/rtw_security.c
+++ b/drivers/staging/rtl8188eu/core/rtw_security.c
@@ -233,7 +233,6 @@ void rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe)
&crc, &payload[length-4]));
}
}
- return;
}
/* 3 ===== TKIP related ===== */
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-24 20:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-24 20:34 [PATCH 0/2] Remove return statement from void function Georgiana Rodica Chelu
2016-09-24 20:35 ` [PATCH 1/2] staging: rtl8188eu: core: rtw_mlme: " Georgiana Rodica Chelu
2016-09-24 20:35 ` [PATCH 2/2] staging: rtl8188eu: core: rtw_security: " Georgiana Rodica Chelu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.