From d514e3452a5f32e11586dfe29290beb9fb88a6cd Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 18 Jul 2011 23:33:12 -0500 Subject: [PATCH] staging: rtl8192e: Convert typedef ccktxbbgain_struct to struct ccktxbbgain Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger --- drivers/staging/rtl8192e/rtl_core.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h index d2056ed068e3..c71d4d2b43f9 100644 --- a/drivers/staging/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl_core.h @@ -496,10 +496,9 @@ struct txbbgain_struct { u32 txbbgain_value; }; -typedef struct _ccktxbbgain_struct -{ +struct ccktxbbgain { u8 ccktxbb_valuearray[8]; -} ccktxbbgain_struct,*pccktxbbgain_struct; +}; typedef struct _init_gain { @@ -598,8 +597,8 @@ typedef struct r8192_priv struct bb_reg_definition PHYRegDef[4]; rate_adaptive rate_adaptive; - ccktxbbgain_struct cck_txbbgain_table[CCKTxBBGainTableLength]; - ccktxbbgain_struct cck_txbbgain_ch14_table[CCKTxBBGainTableLength]; + struct ccktxbbgain cck_txbbgain_table[CCKTxBBGainTableLength]; + struct ccktxbbgain cck_txbbgain_ch14_table[CCKTxBBGainTableLength]; struct txbbgain_struct txbbgain_table[TxBBGainTableLength]; -- 2.20.1