diff options
| author | Rishik Yechuri <epicrishik@gmail.com> | 2026-10-02 15:13:53 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-10-13 15:31:04 +0200 |
| commit | 759e162171f3de2fdc07fb43c98d988f0c648804 (patch) | |
| tree | dd8700ede2390baf93cf7edb67997683d5d8a684 /tools/lib/python/kdoc/python_version.py | |
| parent | f56356ba219dec8acdd967a1dc2bb40c58890ab5 (diff) | |
staging: rtl8723bs: remove unused BoardType field and its parser
Hal_EfuseParseBoardType_8723BS() reads the board option byte from the
efuse and stores bits 5 through 7 in pHalData->BoardType. Nothing in
the driver ever reads pHalData->BoardType, so the value isn't used.
The function also tries to fall back to a default when the efuse byte
is unprogrammed, but the check can never be true:
BoardType = (hwinfo[...] & 0xE0) >> 5; /* at most 7 */
if (BoardType == 0xFF) /* never true */
Remove the function, the one place it's called, and the unused
BoardType member of struct hal_com_data. This doesn't change how the
driver behaves.
Signed-off-by: Rishik Yechuri <rishik.yechuri.code@gmail.com>
Link: https://patch.msgid.link/20261002201354.156065-1-rishik.yechuri.code@gmail.com
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
