All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Cesati <marcocesati@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Hans de Goede <hdegoede@redhat.com>,
	Larry Finger <Larry.Finger@lwfinger.net>,
	linux-staging@lists.linux.dev
Subject: [PATCH 17/21] Staging: rtl8723bs: remove enums in HalBtcOutSrc.h
Date: Wed, 24 Mar 2021 19:38:43 +0100	[thread overview]
Message-ID: <20210324183847.5595-18-marcocesati@gmail.com> (raw)
In-Reply-To: <20210324183847.5595-1-marcocesati@gmail.com>

Remove the following unnecessary enum definitions in
hal/HalBtcOutSrc.h:

	enum btc_dbg_opcode
	enum btc_wifi_role
	enum bt_wifi_coex_state
	enum btc_notify_type_stack_operation

Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
 drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h | 34 --------------------
 1 file changed, 34 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h
index 10c021024b24..08172cc38f09 100644
--- a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h
+++ b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h
@@ -166,16 +166,6 @@ struct btc_board_info {
 	/* bool				bBtExist; */
 };
 
-enum btc_dbg_opcode {
-	BTC_DBG_SET_COEX_NORMAL			    = 0x0,
-	BTC_DBG_SET_COEX_WIFI_ONLY		    = 0x1,
-	BTC_DBG_SET_COEX_BT_ONLY		    = 0x2,
-	BTC_DBG_SET_COEX_DEC_BT_PWR		    = 0x3,
-	BTC_DBG_SET_COEX_BT_AFH_MAP		    = 0x4,
-	BTC_DBG_SET_COEX_BT_IGNORE_WLAN_ACT	= 0x5,
-	BTC_DBG_MAX
-};
-
 enum btc_rssi_state {
 	BTC_RSSI_STATE_HIGH			    = 0x0,
 	BTC_RSSI_STATE_MEDIUM			= 0x1,
@@ -189,14 +179,6 @@ enum btc_rssi_state {
 #define BTC_RSSI_MEDIUM(_rssi_)	((_rssi_ == BTC_RSSI_STATE_MEDIUM || _rssi_ == BTC_RSSI_STATE_STAY_MEDIUM) ? true : false)
 #define BTC_RSSI_LOW(_rssi_)	((_rssi_ == BTC_RSSI_STATE_LOW || _rssi_ == BTC_RSSI_STATE_STAY_LOW) ? true : false)
 
-enum btc_wifi_role {
-	BTC_ROLE_STATION			= 0x0,
-	BTC_ROLE_AP					= 0x1,
-	BTC_ROLE_IBSS				= 0x2,
-	BTC_ROLE_HS_MODE			= 0x3,
-	BTC_ROLE_MAX
-};
-
 enum btc_wifi_bw_mode {
 	BTC_WIFI_BW_LEGACY			= 0x0,
 	BTC_WIFI_BW_HT20			= 0x1,
@@ -217,15 +199,6 @@ enum btc_wifi_pnp {
 };
 
 /* for 8723b-d cut large current issue */
-enum bt_wifi_coex_state {
-	BTC_WIFI_STAT_INIT,
-	BTC_WIFI_STAT_IQK,
-	BTC_WIFI_STAT_NORMAL_OFF,
-	BTC_WIFI_STAT_MP_OFF,
-	BTC_WIFI_STAT_NORMAL,
-	BTC_WIFI_STAT_ANT_DIV,
-	BTC_WIFI_STAT_MAX
-};
 
 /*  defined for BFP_BTC_GET */
 enum btc_get_type {
@@ -355,13 +328,6 @@ enum btc_notify_type_special_packet {
 	BTC_PACKET_MAX
 };
 
-enum btc_notify_type_stack_operation {
-	BTC_STACK_OP_NONE					= 0x0,
-	BTC_STACK_OP_INQ_PAGE_PAIR_START	= 0x1,
-	BTC_STACK_OP_INQ_PAGE_PAIR_FINISH	= 0x2,
-	BTC_STACK_OP_MAX
-};
-
 /* Bryant Add */
 enum btc_antenna_pos {
 	BTC_ANTENNA_AT_MAIN_PORT = 0x1,
-- 
2.30.2


  parent reply	other threads:[~2021-03-24 18:38 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-24 18:38 [PATCH 00/21] Staging: rtl8723bs: remove unreferenced enum definitions Marco Cesati
2021-03-24 18:38 ` [PATCH 01/21] Staging: rtl8723bs: remove enums in rtw_mlme.h Marco Cesati
2021-03-24 18:38 ` [PATCH 02/21] Staging: rtl8723bs: remove enums in hal_com.h Marco Cesati
2021-03-24 18:38 ` [PATCH 03/21] Staging: rtl8723bs: remove enums in drv_types.h Marco Cesati
2021-03-24 18:38 ` [PATCH 04/21] Staging: rtl8723bs: remove enums in wlan_bssdef.h Marco Cesati
2021-03-24 18:38 ` [PATCH 05/21] Staging: rtl8723bs: remove enums in rtw_mp.h Marco Cesati
2021-03-24 18:38 ` [PATCH 06/21] Staging: rtl8723bs: remove enums in osdep_service.h Marco Cesati
2021-03-24 18:59   ` Dan Carpenter
2021-03-24 18:38 ` [PATCH 07/21] Staging: rtl8723bs: remove enums in hal_intf.h Marco Cesati
2021-03-24 18:38 ` [PATCH 08/21] Staging: rtl8723bs: remove enums in hal_com_h2c.h Marco Cesati
2021-03-24 19:02   ` Dan Carpenter
2021-03-24 18:38 ` [PATCH 09/21] Staging: rtl8723bs: remove enums in rtw_wifi_regd.h Marco Cesati
2021-03-24 18:38 ` [PATCH 10/21] Staging: rtl8723bs: remove enums in wifi.h Marco Cesati
2021-03-24 18:38 ` [PATCH 11/21] Staging: rtl8723bs: remove enums in hal_phy.h Marco Cesati
2021-03-24 18:38 ` [PATCH 12/21] Staging: rtl8723bs: remove enums in rtw_mlme_ext.h Marco Cesati
2021-03-24 18:38 ` [PATCH 13/21] Staging: rtl8723bs: remove enums in rtw_xmit.h Marco Cesati
2021-03-24 18:38 ` [PATCH 14/21] Staging: rtl8723bs: remove enums in rtw_rf.h Marco Cesati
2021-03-24 18:38 ` [PATCH 15/21] Staging: rtl8723bs: remove enums in ieee80211.h Marco Cesati
2021-03-24 18:38 ` [PATCH 16/21] Staging: rtl8723bs: remove enums in odm_interface.h Marco Cesati
2021-03-24 18:38 ` Marco Cesati [this message]
2021-03-24 19:05   ` [PATCH 17/21] Staging: rtl8723bs: remove enums in HalBtcOutSrc.h Dan Carpenter
2021-03-24 18:38 ` [PATCH 18/21] Staging: rtl8723bs: remove enums in odm_types.h Marco Cesati
2021-03-24 18:38 ` [PATCH 19/21] Staging: rtl8723bs: remove enums in odm_DIG.h Marco Cesati
2021-03-24 18:38 ` [PATCH 20/21] Staging: rtl8723bs: remove enums in HalPhyRf.h Marco Cesati
2021-03-24 18:38 ` [PATCH 21/21] Staging: rtl8723bs: remove enums in odm.h Marco Cesati
2021-03-24 19:06   ` Dan Carpenter

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=20210324183847.5595-18-marcocesati@gmail.com \
    --to=marcocesati@gmail.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=hdegoede@redhat.com \
    --cc=linux-staging@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.