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>,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: [PATCH 13/16] staging: rtl8192e: Remove rt_pwr_save_ctrl members
Date: Mon, 15 Jun 2015 00:58:57 +0200	[thread overview]
Message-ID: <1434322740-14454-14-git-send-email-mateusz.kulikowski@gmail.com> (raw)
In-Reply-To: <1434322740-14454-1-git-send-email-mateusz.kulikowski@gmail.com>

Following members were removed:
- tmpJoinAction
- tmpSuppRateBuf
- bTmpIbpm

As a consequence several unused defines/enums/structs were
also removed from rtllib.h

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
---
 drivers/staging/rtl8192e/rtllib.h | 36 ------------------------------------
 1 file changed, 36 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h
index 3895694..49f31ec 100644
--- a/drivers/staging/rtl8192e/rtllib.h
+++ b/drivers/staging/rtl8192e/rtllib.h
@@ -1368,42 +1368,12 @@ enum ips_callback_function {
 	IPS_CALLBACK_JOIN_REQUEST = 2,
 };
 
-enum rt_join_action {
-	RT_JOIN_INFRA   = 1,
-	RT_JOIN_IBSS  = 2,
-	RT_START_IBSS = 3,
-	RT_NO_ACTION  = 4,
-};
-
-struct ibss_parms {
-	u16   atimWin;
-};
-#define MAX_NUM_RATES	264
-
 enum rt_rf_power_state {
 	eRfOn,
 	eRfSleep,
 	eRfOff
 };
 
-#define	MAX_SUPPORT_WOL_PATTERN_NUM		8
-
-enum wol_pattern_type {
-	eNetBIOS = 0,
-	eIPv4IPv6ARP,
-	eIPv4IPv6TCPSYN,
-	eMACIDOnly,
-	eNoDefined,
-};
-
-struct rt_pm_wol_info {
-	u32	PatternId;
-	u32	Mask[4];
-	u16	CrcRemainder;
-	u8	WFMIndex;
-	enum wol_pattern_type PatternType;
-};
-
 struct rt_pwr_save_ctrl {
 
 	bool				bInactivePs;
@@ -1412,10 +1382,6 @@ struct rt_pwr_save_ctrl {
 	enum rt_rf_power_state eInactivePowerState;
 	enum ips_callback_function ReturnPoint;
 
-	enum rt_join_action tmpJoinAction;
-	u8				tmpSuppRateBuf[MAX_NUM_RATES];
-	bool				bTmpIbpm;
-
 	bool				bLeisurePs;
 	u8				LpsIdleCount;
 	u8				RegMaxLPSAwakeIntvl;
@@ -1426,8 +1392,6 @@ struct rt_pwr_save_ctrl {
 
 	bool				bFwCtrlLPS;
 
-	struct rt_pm_wol_info PmWoLPatternInfo[MAX_SUPPORT_WOL_PATTERN_NUM];
-
 };
 
 #define RT_RF_CHANGE_SOURCE u32
-- 
1.8.4.1


  parent reply	other threads:[~2015-06-14 23:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-14 22:58 [PATCH 00/16] staging: rtl8192e: Remove unused code Mateusz Kulikowski
2015-06-14 22:58 ` [PATCH 01/16] staging: rtl8192e: Remove unused code in rtl819x_HT.h Mateusz Kulikowski
2015-06-14 22:58 ` [PATCH 02/16] staging: rtl8192e: Remove unused code in rtllib.h Mateusz Kulikowski
2015-06-14 22:58 ` [PATCH 03/16] staging: rtl8192e: Remove rt_hi_throughput::ChnkOp Mateusz Kulikowski
2015-06-14 22:58 ` [PATCH 04/16] staging: rtl8192e: Remove ENABLE_LOCK_DEBUG reference Mateusz Kulikowski
2015-06-14 22:58 ` [PATCH 05/16] staging: rtl8192e: Remove rtllib_stop_queue() Mateusz Kulikowski
2015-06-14 22:58 ` [PATCH 06/16] staging: rtl8192e: Remove rtllib_wake_queue() Mateusz Kulikowski
2015-06-15  6:38   ` Sudip Mukherjee
2015-06-15  6:41     ` Mateusz Kulikowski
2015-06-15  6:52       ` Sudip Mukherjee
2015-06-15  6:55         ` Mateusz Kulikowski
2015-06-14 22:58 ` [PATCH 07/16] staging: rtl8192e: Remove dequeue_mgmt() and rtllib_resume_tx() Mateusz Kulikowski
2015-06-14 22:58 ` [PATCH 08/16] staging: rtl8192e: Remove rtllib_is_shortslot() Mateusz Kulikowski
2015-06-14 22:58 ` [PATCH 09/16] staging: rtl8192e: Remove rtllib_wx_get_encode_ext() Mateusz Kulikowski
2015-06-14 22:58 ` [PATCH 10/16] staging: rtl8192e: Remove rtllib_device::get_nic_desc_num() Mateusz Kulikowski
2015-06-14 22:58 ` [PATCH 11/16] staging: rtl8192e: Remove WIRELESS_EXT checks Mateusz Kulikowski
2015-06-14 22:58 ` [PATCH 12/16] staging: rtl8192e: Remove rtllib_network::last_associate Mateusz Kulikowski
2015-06-14 22:58 ` Mateusz Kulikowski [this message]
2015-06-14 22:58 ` [PATCH 14/16] staging: rtl8192e: Remove unused rtllib_device members Mateusz Kulikowski
2015-06-14 22:58 ` [PATCH 15/16] staging: rtl8192e: Remove softmac_hint11d_wq queue Mateusz Kulikowski
2015-06-14 22:59 ` [PATCH 16/16] staging: rtl8192e: Remove rtllib_device::agregation 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=1434322740-14454-14-git-send-email-mateusz.kulikowski@gmail.com \
    --to=mateusz.kulikowski@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --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®