public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Change function return type to void
@ 2019-06-22 16:40 Shobhit Kukreti
  2019-06-22 16:40 ` [PATCH 1/3] staging: rtl8723bs: os_dep: Change return type of function rtw_suspend_normal() " Shobhit Kukreti
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Shobhit Kukreti @ 2019-06-22 16:40 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Bastien Nocera, Hans de Goede, Larry Finger
  Cc: devel, linux-kernel, Shobhit Kukreti

This patchset modifies function return types to void.
The return values of the function are never checked and 
they always return success.
This resolves coccicheck Unneeded variable warnings.

PATCH[1/3]: This patch changes return type of rtw_suspend_normal() to 
void

PATCH[2/3]: This patch changes return type of rtw_suspend_wow() to 
void 

PATCH[3/3]: This patch changes return type of rtw_init_default_value to 
void


Shobhit Kukreti (3):
  staging: rtl8723bs: os_dep: Change return type of function    
    rtw_suspend_normal() to void
  staging: rtl8723bs: os_dep: modified return type of function    
    rtw_suspend_wow() to void
  staging: rtl8723bs: os_dep: Change return type of    
    rtw_init_default_value() to void

 drivers/staging/rtl8723bs/include/drv_types.h |  2 +-
 drivers/staging/rtl8723bs/os_dep/os_intfs.c   | 14 ++++----------
 2 files changed, 5 insertions(+), 11 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-22 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-22 16:40 [PATCH 0/3] Change function return type to void Shobhit Kukreti
2019-06-22 16:40 ` [PATCH 1/3] staging: rtl8723bs: os_dep: Change return type of function rtw_suspend_normal() " Shobhit Kukreti
2019-06-22 16:40 ` [PATCH 2/3] staging: rtl8723bs: os_dep: modified return type of function rtw_suspend_wow() " Shobhit Kukreti
2019-06-22 16:40 ` [PATCH 3/3] staging: rtl8723bs: os_dep: Change return type of rtw_init_default_value() " Shobhit Kukreti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox