Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1165493

[PATCH v2 03/15] staging: rtl8192e: Remove rt_hi_throughput::ChnkOp

From Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2 03/15] staging: rtl8192e: Remove rt_hi_throughput::ChnkOp
Date 2015-06-15 21:10 +0200
Message-ID <pBHVG-40I-57@gated-at.bofh.it> (permalink)
References <pBHVE-40I-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Field was initialized and never used.
This patch also removes chnl_op enum that was only
referenced by ChnkOp init code.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
---
 drivers/staging/rtl8192e/rtl819x_HT.h     | 8 --------
 drivers/staging/rtl8192e/rtl819x_HTProc.c | 1 -
 2 files changed, 9 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h
index 0535810..0c263d9 100644
--- a/drivers/staging/rtl8192e/rtl819x_HT.h
+++ b/drivers/staging/rtl8192e/rtl819x_HT.h
@@ -37,13 +37,6 @@ enum ht_extchnl_offset {
 	HT_EXTCHNL_OFFSET_LOWER = 3,
 };
 
-enum chnl_op {
-	CHNLOP_NONE = 0,
-	CHNLOP_SCAN = 1,
-	CHNLOP_SWBW = 2,
-	CHNLOP_SWCHNL = 3,
-};
-
 struct ht_capab_ele {
 
 	u8	AdvCoding:1;
@@ -173,7 +166,6 @@ struct rt_hi_throughput {
 	u8				PeerBandwidth;
 
 	u8				bSwBwInProgress;
-	enum chnl_op ChnlOp;
 	u8				SwBwStep;
 
 	u8				bRegRT2RTAggregation;
diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c
index dcf8db1..b5c3647 100644
--- a/drivers/staging/rtl8192e/rtl819x_HTProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c
@@ -676,7 +676,6 @@ void HTInitializeHTInfo(struct rtllib_device *ieee)
 		sizeof(pHTInfo->PeerHTInfoBuf));
 
 	pHTInfo->bSwBwInProgress = false;
-	pHTInfo->ChnlOp = CHNLOP_NONE;
 
 	pHTInfo->ePeerHTSpecVer = HT_SPEC_VER_IEEE;
 
-- 
1.8.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 00/15] staging: rtl8192e: Remove unused code Mateusz Kulikowski <mateusz.kulikowski@gmail.com> - 2015-06-15 21:10 +0200
  [PATCH v2 01/15] staging: rtl8192e: Remove unused code in rtl819x_HT.h Mateusz Kulikowski <mateusz.kulikowski@gmail.com> - 2015-06-15 21:10 +0200
  [PATCH v2 06/15] staging: rtl8192e: Remove rtllib_wake_queue() Mateusz Kulikowski <mateusz.kulikowski@gmail.com> - 2015-06-15 21:10 +0200
  [PATCH v2 12/15] staging: rtl8192e: Remove rt_pwr_save_ctrl members Mateusz Kulikowski <mateusz.kulikowski@gmail.com> - 2015-06-15 21:10 +0200
  [PATCH v2 02/15] staging: rtl8192e: Remove unused code in rtllib.h Mateusz Kulikowski <mateusz.kulikowski@gmail.com> - 2015-06-15 21:10 +0200
  [PATCH v2 03/15] staging: rtl8192e: Remove rt_hi_throughput::ChnkOp Mateusz Kulikowski <mateusz.kulikowski@gmail.com> - 2015-06-15 21:10 +0200
  [PATCH v2 15/15] staging: rtl8192e: Remove rtllib_device::agregation Mateusz Kulikowski <mateusz.kulikowski@gmail.com> - 2015-06-15 21:20 +0200
  [PATCH v2 11/15] staging: rtl8192e: Remove rtllib_network::last_associate Mateusz Kulikowski <mateusz.kulikowski@gmail.com> - 2015-06-15 21:20 +0200
  [PATCH v2 13/15] staging: rtl8192e: Remove unused rtllib_device members Mateusz Kulikowski <mateusz.kulikowski@gmail.com> - 2015-06-15 21:20 +0200
  [PATCH v2 14/15] staging: rtl8192e: Remove softmac_hint11d_wq queue Mateusz Kulikowski <mateusz.kulikowski@gmail.com> - 2015-06-15 21:20 +0200

csiph-web