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 08/15] staging:rtl8192u: Remove the unused AC_CODING definitions - Style
Date: Mon, 23 Jul 2018 21:50:24 +0100	[thread overview]
Message-ID: <20180723205031.19816-9-johnfwhitmore@gmail.com> (raw)
In-Reply-To: <20180723205031.19816-1-johnfwhitmore@gmail.com>

The AC_CODING definitions are unused in code, so have simply been removed
from source. This is a coding style change and should not impact runtime
code execution.

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

diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
index e0c51c5c6816..455b87edc7fb 100644
--- a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
+++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h
@@ -9,26 +9,6 @@
 
 #define WMM_PARAM_ELEMENT_SIZE	(8+(4*AC_PARAM_SIZE))
 
-//
-// ACI to AC coding.
-// Ref: WMM spec 2.2.2: WME Parameter Element, p.13.
-//
-// AC_CODING is redefined for enum can't be ++, | under C++ compiler, 2006.05.17, by rcnjko.
-//typedef	enum _AC_CODING{
-//	AC0_BE	= 0,		// ACI: 0x00	// Best Effort
-//	AC1_BK	= 1,		// ACI: 0x01	// Background
-//	AC2_VI	= 2,		// ACI: 0x10	// Video
-//	AC3_VO	= 3,		// ACI: 0x11	// Voice
-//	AC_MAX = 4,		// Max: define total number; Should not to be used as a real enum.
-//}AC_CODING,*PAC_CODING;
-//
-typedef u32 AC_CODING;
-#define AC0_BE	0		// ACI: 0x00	// Best Effort
-#define AC1_BK	1		// ACI: 0x01	// Background
-#define AC2_VI	2		// ACI: 0x10	// Video
-#define AC3_VO	3		// ACI: 0x11	// Voice
-#define AC_MAX	4		// Max: define total number; Should not to be used as a real enum.
-
 //
 // ACI/AIFSN Field.
 // Ref: WMM spec 2.2.2: WME Parameter Element, p.12.
-- 
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 " 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 ` [PATCH 07/15] staging:rtl8192u: Remove unused union QOS_INFO_FIELD " John Whitmore
2018-07-23 20:50 ` John Whitmore [this message]
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-9-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