From 43267fef107b44b3b3e73a02cfc6027b8e6336fb Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 18 Jul 2011 23:51:09 -0500 Subject: [PATCH] staging: rtl8192e: Convert typedef init_gain to struct init_gain Remove typedef from struct. Rename struct. Rename uses. Signed-off-by: Larry Finger --- drivers/staging/rtl8192e/rtl_core.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h index c71d4d2b43f9..cb2879236432 100644 --- a/drivers/staging/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl_core.h @@ -500,15 +500,14 @@ struct ccktxbbgain { u8 ccktxbb_valuearray[8]; }; -typedef struct _init_gain -{ +struct init_gain { u8 xaagccore1; u8 xbagccore1; u8 xcagccore1; u8 xdagccore1; u8 cca; -} init_gain, *pinit_gain; +}; struct tx_ring { u32 * desc; @@ -949,7 +948,7 @@ typedef struct r8192_priv u8 Record_CCK_20Mindex; u8 Record_CCK_40Mindex; - init_gain initgain_backup; + struct init_gain initgain_backup; u8 DefaultInitialGain[4]; bool bis_any_nonbepkts; bool bcurrent_turbo_EDCA; -- 2.20.1