linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 00/23] staging: r8188eu: remove unneeded ret variables
@ 2022-01-29 16:04 Abdun Nihaal
  2022-01-29 16:04 ` [PATCH v4 01/23] staging: r8188eu: remove unneeded variable in rtw_wx_get_essid Abdun Nihaal
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: Abdun Nihaal @ 2022-01-29 16:04 UTC (permalink / raw)
  To: gregkh
  Cc: Abdun Nihaal, Larry.Finger, phil, straube.linux, martin,
	linux-staging, linux-kernel

This patchset does the following to functions in ioctl_linux.c:
- Remove unneeded return variable in some functions.
  These functions cannot be converted to void either because it is an
  iw_handler function or the function does return error code.
- Propagate error code in rtw_p2p_get2 function
- Convert some functions that always return 0 to return void

v3 -> v4:
- Split the changes into smaller patches to make it easier to review
- Add a new patch to propagate error code in rtw_p2p_get2 function

v2 -> v3:
- Remove returns at the end of void functions to conform to coding style

v1 -> v2:
- As suggested by Greg, change functions that always return 0
  and whose return value is not used, to return void instead.
- Not removing return variables in rtw_p2p_get2 and rtw_p2p_set
  as they may need to be used.

Abdun Nihaal (23):
  staging: r8188eu: remove unneeded variable in rtw_wx_get_essid
  staging: r8188eu: remove unneeded variable in rtw_wx_get_enc
  staging: r8188eu: remove unneeded variable in rtw_p2p_get
  staging: r8188eu: remove unneeded variable in
    rtw_p2p_get_wps_configmethod
  staging: r8188eu: remove unneeded variable in
    rtw_p2p_get_go_device_address
  staging: r8188eu: remove unneeded variable in rtw_p2p_get_device_type
  staging: r8188eu: remove unneeded variable in rtw_p2p_get_device_name
  staging: r8188eu: remove unneeded variable in
    rtw_p2p_get_invitation_procedure
  staging: r8188eu: propagate error code in rtw_p2p_get2
  staging: r8188eu: convert rtw_p2p_set_go_nego_ssid to return void
  staging: r8188eu: convert rtw_p2p_setDN to return void
  staging: r8188eu: convert rtw_p2p_get_status to return void
  staging: r8188eu: convert rtw_p2p_get_req_cm to return void
  staging: r8188eu: convert rtw_p2p_get_role to return void
  staging: r8188eu: convert rtw_p2p_get_peer_ifaddr to return void
  staging: r8188eu: convert rtw_p2p_get_peer_devaddr to return void
  staging: r8188eu: convert rtw_p2p_get_peer_devaddr_by_invitation to
    return void
  staging: r8188eu: convert rtw_p2p_get_groupid to return void
  staging: r8188eu: convert rtw_p2p_get_op_ch to return void
  staging: r8188eu: convert rtw_p2p_invite_req to return void
  staging: r8188eu: convert rtw_p2p_set_persistent to return void
  staging: r8188eu: convert rtw_p2p_prov_disc to return void
  staging: r8188eu: convert rtw_p2p_got_wpsinfo to return void

 drivers/staging/r8188eu/os_dep/ioctl_linux.c | 155 +++++++------------
 1 file changed, 59 insertions(+), 96 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2022-01-31 13:04 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-29 16:04 [PATCH v4 00/23] staging: r8188eu: remove unneeded ret variables Abdun Nihaal
2022-01-29 16:04 ` [PATCH v4 01/23] staging: r8188eu: remove unneeded variable in rtw_wx_get_essid Abdun Nihaal
2022-01-29 16:04 ` [PATCH v4 02/23] staging: r8188eu: remove unneeded variable in rtw_wx_get_enc Abdun Nihaal
2022-01-29 16:27 ` [PATCH v4 03/23] staging: r8188eu: remove unneeded variable in rtw_p2p_get Abdun Nihaal
2022-01-29 16:27 ` [PATCH v4 04/23] staging: r8188eu: remove unneeded variable in rtw_p2p_get_wps_configmethod Abdun Nihaal
2022-01-29 16:27 ` [PATCH v4 05/23] staging: r8188eu: remove unneeded variable in rtw_p2p_get_go_device_address Abdun Nihaal
2022-01-29 16:27 ` [PATCH v4 06/23] staging: r8188eu: remove unneeded variable in rtw_p2p_get_device_type Abdun Nihaal
2022-01-29 16:27 ` [PATCH v4 07/23] staging: r8188eu: remove unneeded variable in rtw_p2p_get_device_name Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 08/23] staging: r8188eu: remove unneeded variable in rtw_p2p_get_invitation_procedure Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 09/23] staging: r8188eu: propagate error code in rtw_p2p_get2 Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 10/23] staging: r8188eu: convert rtw_p2p_set_go_nego_ssid to return void Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 11/23] staging: r8188eu: convert rtw_p2p_setDN " Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 12/23] staging: r8188eu: convert rtw_p2p_get_status " Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 13/23] staging: r8188eu: convert rtw_p2p_get_req_cm " Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 14/23] staging: r8188eu: convert rtw_p2p_get_role " Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 15/23] staging: r8188eu: convert rtw_p2p_get_peer_ifaddr " Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 16/23] staging: r8188eu: convert rtw_p2p_get_peer_devaddr " Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 17/23] staging: r8188eu: convert rtw_p2p_get_peer_devaddr_by_invitation " Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 18/23] staging: r8188eu: convert rtw_p2p_get_groupid " Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 19/23] staging: r8188eu: convert rtw_p2p_get_op_ch " Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 20/23] staging: r8188eu: convert rtw_p2p_invite_req " Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 21/23] staging: r8188eu: convert rtw_p2p_set_persistent " Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 22/23] staging: r8188eu: convert rtw_p2p_prov_disc " Abdun Nihaal
2022-01-29 16:28 ` [PATCH v4 23/23] staging: r8188eu: convert rtw_p2p_got_wpsinfo " Abdun Nihaal
2022-01-31 13:03 ` [PATCH v4 00/23] staging: r8188eu: remove unneeded ret variables Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).