diff options
author | Michael Straube <straube.linux@gmail.com> | 2019-10-27 14:06:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-28 16:40:25 +0100 |
commit | c534472f8b4dc45d92a5f96a6ed11dbea6b4eef8 (patch) | |
tree | 226c01c2d3dda26d011250120bfc3d0a58042bd3 /drivers/extcon/devres.c | |
parent | 6e845ddd8a554f632a561cba77d8c1811a4d86aa (diff) |
staging: rtl8188eu: remove return variable from rtw_init_bcmc_stainfo
Remove variable res, that is used to store the return value, from
rtw_init_bcmc_stainfo. Instead return _FAIL or _SUCCESS directly
and remove the now unneeded exit label.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20191027130604.68379-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/extcon/devres.c')
0 files changed, 0 insertions, 0 deletions