mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Whitmore <johnfwhitmore@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org,
	pombredanne@nexb.com, kstewart@linuxfoundation.org,
	tglx@linutronix.de, John Whitmore <johnfwhitmore@gmail.com>
Subject: [PATCH 07/15] staging:rtl8192u: Remove unused union QOS_INFO_FIELD - Style
Date: Mon, 23 Jul 2018 21:50:23 +0100	[thread overview]
Message-ID: <20180723205031.19816-8-johnfwhitmore@gmail.com> (raw)
In-Reply-To: <20180723205031.19816-1-johnfwhitmore@gmail.com>

The union QOS_INFO_FIELD is unused in code so has been removed from source.
This change is a coding style change so should have no impact on runtime
code execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
---
 .../staging/rtl8192u/ieee80211/rtl819x_Qos.h  | 86 -------------------
 1 file changed, 86 deletions(-)

diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
index 90f5939c9ecc..e0c51c5c6816 100644
--- a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
+++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
@@ -9,92 +9,6 @@
 
 #define WMM_PARAM_ELEMENT_SIZE	(8+(4*AC_PARAM_SIZE))
 
-//
-// QoS Info Field
-// Ref:
-//	1. WMM spec 2.2.1: WME Information Element, p.11.
-//	2. 8185 QoS code: QOS_INFO [def. in QoS_mp.h]
-//
-typedef	union _QOS_INFO_FIELD {
-	u8	charData;
-
-	struct {
-		u8		ucParameterSetCount:4;
-		u8		ucReserved:4;
-	} WMM;
-
-	struct {
-		//Ref WMM_Specification_1-1.pdf, 2006-06-13 Isaiah
-		u8		ucAC_VO_UAPSD:1;
-		u8		ucAC_VI_UAPSD:1;
-		u8		ucAC_BE_UAPSD:1;
-		u8		ucAC_BK_UAPSD:1;
-		u8		ucReserved1:1;
-		u8		ucMaxSPLen:2;
-		u8		ucReserved2:1;
-
-	} ByWmmPsSta;
-
-	struct {
-		//Ref WMM_Specification_1-1.pdf, 2006-06-13 Isaiah
-		u8		ucParameterSetCount:4;
-		u8		ucReserved:3;
-		u8		ucApUapsd:1;
-	} ByWmmPsAp;
-
-	struct {
-		u8		ucAC3_UAPSD:1;
-		u8		ucAC2_UAPSD:1;
-		u8		ucAC1_UAPSD:1;
-		u8		ucAC0_UAPSD:1;
-		u8		ucQAck:1;
-		u8		ucMaxSPLen:2;
-		u8		ucMoreDataAck:1;
-	} By11eSta;
-
-	struct {
-		u8		ucParameterSetCount:4;
-		u8		ucQAck:1;
-		u8		ucQueueReq:1;
-		u8		ucTXOPReq:1;
-		u8		ucReserved:1;
-	} By11eAp;
-
-	struct {
-		u8		ucReserved1:4;
-		u8		ucQAck:1;
-		u8		ucReserved2:2;
-		u8		ucMoreDataAck:1;
-	} ByWmmsaSta;
-
-	struct {
-		u8		ucReserved1:4;
-		u8		ucQAck:1;
-		u8		ucQueueReq:1;
-		u8		ucTXOPReq:1;
-		u8		ucReserved2:1;
-	} ByWmmsaAp;
-
-	struct {
-		u8		ucAC3_UAPSD:1;
-		u8		ucAC2_UAPSD:1;
-		u8		ucAC1_UAPSD:1;
-		u8		ucAC0_UAPSD:1;
-		u8		ucQAck:1;
-		u8		ucMaxSPLen:2;
-		u8		ucMoreDataAck:1;
-	} ByAllSta;
-
-	struct {
-		u8		ucParameterSetCount:4;
-		u8		ucQAck:1;
-		u8		ucQueueReq:1;
-		u8		ucTXOPReq:1;
-		u8		ucApUapsd:1;
-	} ByAllAp;
-
-} QOS_INFO_FIELD, *PQOS_INFO_FIELD;
-
 //
 // ACI to AC coding.
 // Ref: WMM spec 2.2.2: WME Parameter Element, p.13.
-- 
2.18.0


  parent reply	other threads:[~2018-07-23 20:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-23 20:50 [PATCH 00/15] Removal of usused definitions " John Whitmore
2018-07-23 20:50 ` [PATCH 01/15] staging:rtl8192u: Remove typedef of u32 to QOS_MODE " John Whitmore
2018-07-23 20:50 ` [PATCH 02/15] staging:rtl8192u: Remove unused enumerated type ACK_POLICY " John Whitmore
2018-07-23 20:50 ` [PATCH 03/15] staging:rtl8192u: Remove unused QOS definitions " John Whitmore
2018-07-23 20:50 ` [PATCH 04/15] staging:rtl8192u: Removed unused structure BSS_QOS " John Whitmore
2018-07-23 20:50 ` [PATCH 05/15] staging:rtl8192u: Remove unused structure STA_QOS " John Whitmore
2018-07-23 20:50 ` [PATCH 06/15] staging:rtl8192u: Remove unused structure QOS_CTRL_FIELD " John Whitmore
2018-07-23 20:50 ` John Whitmore [this message]
2018-07-23 20:50 ` [PATCH 08/15] staging:rtl8192u: Remove the unused AC_CODING definitions " John Whitmore
2018-07-23 20:50 ` [PATCH 09/15] staging:rtl8192u: Remove unused enumerated type QOS_ELE_SUBTYPE " John Whitmore
2018-07-23 20:50 ` [PATCH 10/15] staging:rtl8192u: Remove unused structure QOS_TSTREAM " John Whitmore
2018-07-23 20:50 ` [PATCH 11/15] staging:rtl8192u: Remove unused structure WMM_TSPEC " John Whitmore
2018-07-23 20:50 ` [PATCH 12/15] staging:rtl8192u: Remove unused enumerated type ACM_METHOD " John Whitmore
2018-07-23 20:50 ` [PATCH 13/15] staging:rtl8192u: Remove unused structure ACM " John Whitmore
2018-07-23 20:50 ` [PATCH 14/15] staging:rtl8192u: Remove unused AC_UAPSD definitions " John Whitmore
2018-07-23 20:50 ` [PATCH 15/15] staging:rtl8192u: Remove unused definition of sQoSCtlLng " John Whitmore

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180723205031.19816-8-johnfwhitmore@gmail.com \
    --to=johnfwhitmore@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kstewart@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pombredanne@nexb.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome