lkml.org 
[lkml]   [2023]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] staging: r8188eu: correct error logic of two functions
Date
This series converts two functions away from returning _SUCCESS and
_FAIL. Another tiny step to get rid of _FAIL / _SUCCESS someday.

Tested on x86_64 with Inter-Tech DMG 02.

v2:
Removed the initialization of the variable err in _rtw_init_recv_priv()
since it's not needed.

Michael Straube (2):
staging: r8188eu: correct error logic of rtl8188eu_init_recv_priv()
staging: r8188eu: correct error logic of _rtw_init_recv_priv()

drivers/staging/r8188eu/core/rtw_recv.c | 30 +++++++++--------------
drivers/staging/r8188eu/os_dep/os_intfs.c | 2 +-
2 files changed, 12 insertions(+), 20 deletions(-)

--
2.39.1

\
 
 \ /
  Last update: 2023-03-27 00:10    [W:1.825 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site