mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Philipp Hortmann <philipp.g.hortmann@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCH 11/14] staging: rtl8723bs: Remove unused macros in rtw_mp.h
Date: Sun, 23 Jun 2024 19:58:03 +0200	[thread overview]
Message-ID: <49bf00c305b34f2d3ed1061b6a22d042edd3a2c1.1719155208.git.philipp.g.hortmann@gmail.com> (raw)
In-Reply-To: <cover.1719155208.git.philipp.g.hortmann@gmail.com>

Remove unused macros.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
---
 drivers/staging/rtl8723bs/include/rtw_mp.h | 29 ----------------------
 1 file changed, 29 deletions(-)

diff --git a/drivers/staging/rtl8723bs/include/rtw_mp.h b/drivers/staging/rtl8723bs/include/rtw_mp.h
index ea3abee325ef..f94bb18479da 100644
--- a/drivers/staging/rtl8723bs/include/rtw_mp.h
+++ b/drivers/staging/rtl8723bs/include/rtw_mp.h
@@ -8,7 +8,6 @@
 #define _RTW_MP_H_
 
 #define MAX_MP_XMITBUF_SZ	2048
-#define NR_MP_XMITFRAME		8
 
 struct mp_xmit_frame {
 	struct list_head	list;
@@ -151,12 +150,6 @@ struct mpt_context {
 };
 /* endif */
 
-/* E-Fuse */
-#define EFUSE_MAP_SIZE		512
-
-#define EFUSE_MAX_SIZE		512
-/* end of E-Fuse */
-
 /* define RTPRIV_IOCTL_MP					(SIOCIWFIRSTPRIV + 0x17) */
 enum {
 	WRITE_REG = 1,
@@ -259,33 +252,11 @@ struct mp_priv {
 	u8 *TXradomBuffer;
 };
 
-#define LOWER	true
-#define RAISE	false
-
 /* Hardware Registers */
-#define BB_REG_BASE_ADDR		0x800
-
-#define MAX_RF_PATH_NUMS	RF_PATH_MAX
-
 extern u8 mpdatarate[NumRates];
 
 #define MAX_TX_PWR_INDEX_N_MODE 64	/*  0x3F */
 
-#define RX_PKT_BROADCAST	1
-#define RX_PKT_DEST_ADDR	2
-#define RX_PKT_PHY_MATCH	3
-
-#define Mac_OFDM_OK			0x00000000
-#define Mac_OFDM_Fail			0x10000000
-#define Mac_OFDM_FasleAlarm	0x20000000
-#define Mac_CCK_OK				0x30000000
-#define Mac_CCK_Fail			0x40000000
-#define Mac_CCK_FasleAlarm		0x50000000
-#define Mac_HT_OK				0x60000000
-#define Mac_HT_Fail			0x70000000
-#define Mac_HT_FasleAlarm		0x90000000
-#define Mac_DropPacket			0xA0000000
-
 #define		REG_RF_BB_GAIN_OFFSET	0x7f
 #define		RF_GAIN_OFFSET_MASK	0xfffff
 
-- 
2.45.2


  parent reply	other threads:[~2024-06-23 17:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-23 17:56 [PATCH 00/14] staging: rtl8723bs: Remove unused macros in wifi.h Philipp Hortmann
2024-06-23 17:56 ` [PATCH 01/14] staging: rtl8723bs: Remove unused structs starting with profile_info Philipp Hortmann
2024-06-23 17:56 ` [PATCH 02/14] staging: rtl8723bs: Remove switch(type) as type is constant Philipp Hortmann
2024-06-23 17:57 ` [PATCH 03/14] staging: rtl8723bs: Remove unused declarations start with sd_hal_bus_init Philipp Hortmann
2024-06-23 17:57 ` [PATCH 04/14] staging: rtl8723bs: Remove empty file sdio_osintf.h Philipp Hortmann
2024-06-23 17:57 ` [PATCH 05/14] staging: rtl8723bs: Remove unused macros in wifi.h Philipp Hortmann
2024-06-23 17:57 ` [PATCH 06/14] staging: rtl8723bs: Remove unused macros in sta_info.h Philipp Hortmann
2024-06-23 17:57 ` [PATCH 07/14] staging: rtl8723bs: Remove unused macros in rtw_xmit.h Philipp Hortmann
2024-06-23 17:57 ` [PATCH 08/14] staging: rtl8723bs: Remove unused macros in rtw_security.h Philipp Hortmann
2024-06-23 17:57 ` [PATCH 09/14] staging: rtl8723bs: Remove unused macros in rtw_recv.h Philipp Hortmann
2024-06-23 17:57 ` [PATCH 10/14] staging: rtl8723bs: Remove unused macros in rtw_pwrctrl.h Philipp Hortmann
2024-06-23 17:58 ` Philipp Hortmann [this message]
2024-06-23 17:58 ` [PATCH 12/14] staging: rtl8723bs: Remove unused macros in rtw_mlme.h Philipp Hortmann
2024-06-23 17:58 ` [PATCH 13/14] staging: rtl8723bs: Remove unused macros in rtw_io.h Philipp Hortmann
2024-06-23 17:58 ` [PATCH 14/14] staging: rtl8723bs: Remove unused macro in ioctl_cfg80211.c Philipp Hortmann

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=49bf00c305b34f2d3ed1061b6a22d042edd3a2c1.1719155208.git.philipp.g.hortmann@gmail.com \
    --to=philipp.g.hortmann@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --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 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®