linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Emanuel Bennici <benniciemanuel78@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Joe Perches <joe@perches.com>,
	Nathan Chancellor <natechancellor@gmail.com>,
	Quytelda Kahja <quytelda@tamalin.org>
Subject: [PATCH 01/10] staging: rtl8723bs: Remove Dead Code in `struct mlme_priv`
Date: Sun, 17 Mar 2019 19:31:04 +0100	[thread overview]
Message-ID: <20190317183115.32393-1-benniciemanuel78@gmail.com> (raw)

Some Lines in the struct mlme_priv are Dead due to CONFIG_INTEL_WIDI.
This Fix removes the dead code.

Signed-off-by: Emanuel Bennici <benniciemanuel78@gmail.com>
---
 drivers/staging/rtl8723bs/include/rtw_mlme.h | 27 --------------------
 1 file changed, 27 deletions(-)

diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme.h b/drivers/staging/rtl8723bs/include/rtw_mlme.h
index 1ea9ea0e8d2e..ed59f16c26c4 100644
--- a/drivers/staging/rtl8723bs/include/rtw_mlme.h
+++ b/drivers/staging/rtl8723bs/include/rtw_mlme.h
@@ -454,33 +454,6 @@ struct mlme_priv {
 	_lock	bcn_update_lock;
 	u8 update_bcn;
 
-#ifdef CONFIG_INTEL_WIDI
-	int	widi_state;
-	int	listen_state;
-	_timer	listen_timer;
-	atomic_t	rx_probe_rsp; /*  1:receive probe respone from RDS source. */
-	u8 *l2sdTaBuffer;
-	u8 channel_idx;
-	u8 group_cnt;	/* In WiDi 3.5, they specified another scan algo. for WFD/RDS co-existed */
-	u8 sa_ext[L2SDTA_SERVICE_VE_LEN];
-
-	u8 widi_enable;
-	/**
-	 * For WiDi 4; upper layer would set
-	 * p2p_primary_device_type_category_id
-	 * p2p_primary_device_type_sub_category_id
-	 * p2p_secondary_device_type_category_id
-	 * p2p_secondary_device_type_sub_category_id
-	 */
-	u16 p2p_pdt_cid;
-	u16 p2p_pdt_scid;
-	u8 num_p2p_sdt;
-	u16 p2p_sdt_cid[MAX_NUM_P2P_SDT];
-	u16 p2p_sdt_scid[MAX_NUM_P2P_SDT];
-	u8 p2p_reject_disable;	/* When starting NL80211 wpa_supplicant/hostapd, it will call netdev_close */
-							/* such that it will cause p2p disabled. Use this flag to reject. */
-#endif /*  CONFIG_INTEL_WIDI */
-
 	u8 NumOfBcnInfoChkFail;
 	unsigned long	timeBcnInfoChkStart;
 };
-- 
2.19.1


             reply	other threads:[~2019-03-17 18:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-17 18:31 Emanuel Bennici [this message]
2019-03-17 18:31 ` [PATCH 02/10] staging: rtl8723bs: Remove Dead Include in include/drv_types.h Emanuel Bennici
2019-03-17 18:31 ` [PATCH 03/10] staging: rtl8723bs: Remove Dead Code in collect_bss_info Function Emanuel Bennici
2019-03-17 18:31 ` [PATCH 04/10] staging: rtl8723bs: Remove old unreachable Code Emanuel Bennici
2019-03-17 18:31 ` [PATCH 05/10] staging: rtl8723bs: Remove unreachable Code in core/rtw_cmd.c Emanuel Bennici
2019-03-19  9:32   ` Dan Carpenter
2019-03-17 18:31 ` [PATCH 06/10] staging: rtl8723bs: Remove Dead Code in os_dep/os_intfs.c Emanuel Bennici
2019-03-17 18:31 ` [PATCH 07/10] " Emanuel Bennici
2019-03-17 18:31 ` [PATCH 08/10] staging: rtl8723bs: Remove Dead Code in os_dep/ioctl_linux.c Emanuel Bennici
2019-03-17 18:31 ` [PATCH 09/10] staging: rtl8723bs: Remove Dead Functions " Emanuel Bennici
2019-03-17 18:31 ` [PATCH 10/10] staging: rtl8723bs: Remove Dead Code in core/rtw_mlme.c Emanuel Bennici

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=20190317183115.32393-1-benniciemanuel78@gmail.com \
    --to=benniciemanuel78@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=natechancellor@gmail.com \
    --cc=quytelda@tamalin.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;
as well as URLs for NNTP newsgroup(s).