Remove typedef from union.
Rename union.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
#define BIT30 0x40000000
#define BIT31 0x80000000
-typedef union _QOS_TSINFO{
+union qos_tsinfo {
u8 charData[3];
struct {
u8 ucTrafficType:1;
u8 ucSchedule:1;
u8 ucReserved:7;
}field;
-}QOS_TSINFO, *PQOS_TSINFO;
+};
+
typedef union _TSPEC_BODY{
u8 charData[55];
struct
{
- QOS_TSINFO TSInfo;
+ union qos_tsinfo TSInfo;
u16 NominalMSDUsize;
u16 MaxMSDUsize;
u32 MinServiceItv;
else
{
TSPEC_BODY TSpec;
- PQOS_TSINFO pTSInfo = &TSpec.f.TSInfo;
+ union qos_tsinfo *pTSInfo = &TSpec.f.TSInfo;
struct list_head* pUnusedList =
(TxRxSelect == TX_DIR)?
(&ieee->Tx_TS_Unused_List):