mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
To: gregkh@linuxfoundation.org
Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>,
	joe@perches.com, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v5 07/11] staging: rtl8192e: remove dead code
Date: Tue, 17 Mar 2015 00:00:54 +0100	[thread overview]
Message-ID: <1426546858-25212-8-git-send-email-mateusz.kulikowski@gmail.com> (raw)
In-Reply-To: <1426546858-25212-1-git-send-email-mateusz.kulikowski@gmail.com>

Remove commented-out unions and enum.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
---
 drivers/staging/rtl8192e/rtl819x_HT.h | 34 ----------------------------------
 drivers/staging/rtl8192e/rtllib.h     | 12 ------------
 2 files changed, 46 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h
index 193c872..a1cc86e 100644
--- a/drivers/staging/rtl8192e/rtl819x_HT.h
+++ b/drivers/staging/rtl8192e/rtl819x_HT.h
@@ -80,40 +80,6 @@ enum chnl_op {
 #define CHHLOP_IN_PROGRESS(_pHTInfo)	\
 		(((_pHTInfo)->ChnlOp > CHNLOP_NONE) ? true : false)
 
-/*
-union ht_capability {
-	u16	ShortData;
-	u8	CharData[2];
-	struct
-	{
-		u16	AdvCoding:1;
-		u16	ChlWidth:1;
-		u16	MimoPwrSave:2;
-		u16	GreenField:1;
-		u16	ShortGI20Mhz:1;
-		u16	ShortGI40Mhz:1;
-		u16	STBC:1;
-		u16	BeamForm:1;
-		u16	DelayBA:1;
-		u16	MaxAMSDUSize:1;
-		u16	DssCCk:1;
-		u16	PSMP:1;
-		u16	Rsvd:3;
-	}Field;
-};
-
-union ht_capability_macpara {
-	u8	ShortData;
-	u8	CharData[1];
-	struct
-	{
-		u8	MaxRxAMPDU:2;
-		u8	MPDUDensity:2;
-		u8	Rsvd:4;
-	}Field;
-};
-*/
-
 enum ht_action {
 	ACT_RECOMMAND_WIDTH		= 0,
 	ACT_MIMO_PWR_SAVE		= 1,
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index 3e437ea..92edce5 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -1649,7 +1649,6 @@ struct rtllib_network {
 	struct list_head list;
 };
 
-#if 1
 enum rtllib_state {
 
 	/* the card is not linked at all */
@@ -1687,17 +1686,6 @@ enum rtllib_state {
 	 */
 	RTLLIB_LINKED_SCANNING,
 };
-#else
-enum rtllib_state {
-	RTLLIB_UNINITIALIZED = 0,
-	RTLLIB_INITIALIZED,
-	RTLLIB_ASSOCIATING,
-	RTLLIB_ASSOCIATED,
-	RTLLIB_AUTHENTICATING,
-	RTLLIB_AUTHENTICATED,
-	RTLLIB_SHUTDOWN
-};
-#endif
 
 #define DEFAULT_MAX_SCAN_AGE (15 * HZ)
 #define DEFAULT_FTS 2346
-- 
1.8.4.1


  parent reply	other threads:[~2015-03-16 23:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-16 23:00 [PATCH v5 00/11] staging: rtl8192e: fix coding style issues Mateusz Kulikowski
2015-03-16 23:00 ` [PATCH v5 01/11] staging: rtl8192e: fix coding style issues (merge broken strings) Mateusz Kulikowski
2015-03-16 23:00 ` [PATCH v5 02/11] staging: rtl8192e: fix coding style issues (spaces before semicolon) Mateusz Kulikowski
2015-03-16 23:00 ` [PATCH v5 03/11] staging: rtl8192e: fix coding style errors (macros in parentheses) Mateusz Kulikowski
2015-03-16 23:00 ` [PATCH v5 04/11] staging: rtl8192e: rtllib_wx: remove duplicate messages Mateusz Kulikowski
2015-03-16 23:00 ` [PATCH v5 05/11] staging: rtl8192e: fix coding style warnings (printk -> netdev_*) Mateusz Kulikowski
2015-03-16 23:00 ` [PATCH v5 06/11] staging: rtl8192e: remove rtllib_endianfree.h Mateusz Kulikowski
2015-03-16 23:00 ` Mateusz Kulikowski [this message]
2015-03-16 23:00 ` [PATCH v5 08/11] staging: rtl8192e: remove unused macros Mateusz Kulikowski
2015-03-16 23:00 ` [PATCH v5 09/11] staging: rtl8192e: rtllib.h: remove duplicated container_of Mateusz Kulikowski
2015-03-16 23:00 ` [PATCH v5 10/11] drivers: staging: rtl8192e: remove eqMacAddr macro Mateusz Kulikowski
2015-03-16 23:00 ` [PATCH v5 11/11] staging: rtl8192e: remove CURRENT_RATE macro Mateusz Kulikowski

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=1426546858-25212-8-git-send-email-mateusz.kulikowski@gmail.com \
    --to=mateusz.kulikowski@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®