diff options
author | Madhumitha Prabakaran <madhumithabiw@gmail.com> | 2019-04-02 09:37:33 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-02 19:51:06 +0200 |
commit | 005fb2de9a8a2074a75923000b922bad9124cb32 (patch) | |
tree | 69a24da1c052ec52f9bb80229469d62210a4c46b | |
parent | fa8e35c70a62db32a92a97601e6e596cbad78f33 (diff) |
Staging: rtl8723bs: Remove typedef in struct dynamic_primary_CCA
Remove typedef in struct dynamic_primary_CCA, as a struct that has
elements that can reasonably be directly accessed should never be a
typedef.
Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8723bs/hal/odm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h index 23ab160ac2c8..4f1aeb8ded29 100644 --- a/drivers/staging/rtl8723bs/hal/odm.h +++ b/drivers/staging/rtl8723bs/hal/odm.h @@ -82,15 +82,15 @@ /* Remove DIG by yuchen */ -typedef struct _Dynamic_Primary_CCA { +struct dynamic_primary_CCA { u8 PriCCA_flag; u8 intf_flag; u8 intf_type; u8 DupRTS_flag; u8 Monitor_flag; u8 CH_offset; - u8 MF_state; -} Pri_CCA_T, *pPri_CCA_T; + u8 MF_state; +}; typedef struct _Rate_Adaptive_Table_ { u8 firstconnect; @@ -1112,7 +1112,7 @@ typedef struct DM_Out_Source_Dynamic_Mechanism_Structure { FAT_T DM_FatTable; DIG_T DM_DigTable; PS_T DM_PSTable; - Pri_CCA_T DM_PriCCA; + struct dynamic_primary_CCA DM_PriCCA; RXHP_T DM_RXHP_Table; RA_T DM_RA_Table; false_ALARM_STATISTICS FalseAlmCnt; |