From c96dc9b905f21721b3cb191927880161b1190a99 Mon Sep 17 00:00:00 2001 From: John Whitmore Date: Tue, 31 Jul 2018 21:59:59 +0100 Subject: [PATCH] staging:rtl8192u: Remove commented out code - Style A number of structures have been commented out of code. Obviously they are not used and as a result have been removed from the code. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore Signed-off-by: Greg Kroah-Hartman --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h index 025810c93160b..a4b8b577cf793 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h @@ -25,7 +25,6 @@ enum direction_value { DIR_BI_DIR = 3, // 0x11 // Bi-Direction }; - /* * TS Info field in WMM TSPEC Element. * Ref: @@ -70,9 +69,6 @@ struct tspec_body { u16 medium_time; }; -//typedef struct _TCLASS{ -// TODO -//} TCLASS, *PTCLASS; typedef union _QOS_TCLAS { struct _TYPE_GENERAL { @@ -124,21 +120,6 @@ typedef union _QOS_TCLAS { } TYPE2_8021Q; } QOS_TCLAS, *PQOS_TCLAS; -//typedef struct _U_APSD{ -//- TriggerEnable [4] -//- MaxSPLength -//- HighestAcBuffered -//} U_APSD, *PU_APSD; - -//joseph TODO: -// UAPSD function should be implemented by 2 data structure -// "Qos control field" and "Qos info field" -//typedef struct _QOS_UAPSD{ -// u8 bTriggerEnable[4]; -// u8 MaxSPLength; -// u8 HighestBufAC; -//} QOS_UAPSD, *PQOS_APSD; - //---------------------------------------------------------------------------- // 802.11 Management frame Status Code field //---------------------------------------------------------------------------- -- 2.30.2