mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
staging: rtl8723bs: remove debug fields from hal_com_data
These fields are never set. They are never read from, since GetHalDefVar() function never receives the neccessary constants. Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com> Link: https://patch.msgid.link/20260717185407.56513-10-nikolayof23@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bbe3a0f030
commit
42bf3094c3
|
|
@ -643,12 +643,6 @@ u8 GetHalDefVar(
|
|||
case HAL_DEF_DBG_DM_FUNC:
|
||||
*((u32 *)value) = hal_data->odmpriv.SupportAbility;
|
||||
break;
|
||||
case HAL_DEF_DBG_DUMP_RXPKT:
|
||||
*((u8 *)value) = hal_data->bDumpRxPkt;
|
||||
break;
|
||||
case HAL_DEF_DBG_DUMP_TXPKT:
|
||||
*((u8 *)value) = hal_data->bDumpTxPkt;
|
||||
break;
|
||||
case HAL_DEF_ANT_DETECT:
|
||||
*((u8 *)value) = hal_data->AntDetection;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -234,9 +234,6 @@ struct hal_com_data {
|
|||
|
||||
u8 u1ForcedIgiLb; /* forced IGI lower bound */
|
||||
|
||||
u8 bDumpRxPkt;/* for debug */
|
||||
u8 bDumpTxPkt;/* for debug */
|
||||
|
||||
/* 2010/08/09 MH Add CU power down mode. */
|
||||
bool pwrdown;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user