diff options
| author | Marinela Tatiana Selseth <marinela.selseth@firmwaredesign.org> | 2026-10-02 14:46:44 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-10-13 15:30:50 +0200 |
| commit | f56356ba219dec8acdd967a1dc2bb40c58890ab5 (patch) | |
| tree | af63830d404e058e3bb6f535cf790b38979c63c3 /tools/lib/python/kdoc/python_version.py | |
| parent | d355fbb22519c61501e203b54589dd0ee8e99f76 (diff) | |
staging: rtl8723bs: Eliminate dead enum hal_status abstraction
The internal driver configuration functions inside odm_HWConfig.c always
hardcode a return of HAL_STATUS_SUCCESS and never fail. Consequently,
the custom vendor wrapper type 'enum hal_status' is a completely
redundant abstraction layer that introduces unnecessary complexity.
Refactor ODM_ConfigRFWithHeaderFile(), ODM_ConfigBBWithHeaderFile(),
and ODM_ConfigRFWithTxPwrTrackHeaderFile() to return standard 'void',
removing the useless success return paths. Additionally, purge the
unused ghost prototype ODM_ConfigFWWithHeaderFile() from the header and
completely eliminate the now-vacant 'enum hal_status' declaration block
from odm_types.h.
Signed-off-by: Marinela Tatiana Selseth <marinela.selseth@firmwaredesign.org>
Link: https://patch.msgid.link/20261002194644.212473-1-marinela.selseth@firmwaredesign.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
