[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1641490034.git.abdun.nihaal@gmail.com>
Date: Thu, 6 Jan 2022 23:11:50 +0530
From: Abdun Nihaal <abdun.nihaal@...il.com>
To: gregkh@...uxfoundation.org
Cc: Abdun Nihaal <abdun.nihaal@...il.com>, Larry.Finger@...inger.net,
phil@...lpotter.co.uk, straube.linux@...il.com, martin@...ser.cx,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] staging: r8188eu: remove unneeded ret variables
This patchset removes unneeded return variables in ioctl_linux.c,
and also converts functions that always return 0 to return void.
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.
These functions call other functions that do return error codes
(mostly -1 and -EFAULT) but are not propagated back.
I'll send a different patch to fix that.
Abdun Nihaal (2):
staging: r8188eu: remove unneeded ret variables
staging: r8188eu: change functions to return void
drivers/staging/r8188eu/os_dep/ioctl_linux.c | 156 ++++++++-----------
1 file changed, 68 insertions(+), 88 deletions(-)
--
2.34.1
Powered by blists - more mailing lists