diff mbox series

[wireless-drivers-next] rtw89: remove duplicate register definitions

Message ID YXD+KL+xzFsnGShb@ns.kevlo.org (mailing list archive)
State Accepted
Commit 090f8a2f7b38f3a1dcf202437e5307761e8e4625
Delegated to: Kalle Valo
Headers show
Series [wireless-drivers-next] rtw89: remove duplicate register definitions | expand

Commit Message

Kevin Lo Oct. 21, 2021, 5:44 a.m. UTC
Remove duplicate register definitions.

Signed-off-by: Kevin Lo <kevlo@kevlo.org>
---

Comments

Kalle Valo Oct. 27, 2021, 7:36 a.m. UTC | #1
Kevin Lo <kevlo@kevlo.org> wrote:

> Remove duplicate register definitions.
> 
> Signed-off-by: Kevin Lo <kevlo@kevlo.org>
> 
> diff --git a/drivers/net/wireless/realtek/rtw89/pci.h b/drivers/net/wireless/realtek/rtw89/pci.h
> index 34333c441aea..20e6767ea5c4 100644
> --- a/drivers/net/wireless/realtek/rtw89/pci.h
> +++ b/drivers/net/wireless/realtek/rtw89/pci.h
> @@ -276,11 +276,6 @@
>  #define B_AX_CH10_BUSY			BIT(0)
>  
>  /* Configure */
> -#define R_AX_PCIE_INIT_CFG1	0x1000
> -#define B_AX_PCIE_RXRST_KEEP_REG	BIT(23)
> -#define B_AX_PCIE_TXRST_KEEP_REG	BIT(22)
> -#define B_AX_DIS_RXDMA_PRE		BIT(2)
> -
>  #define R_AX_PCIE_INIT_CFG2		0x1004
>  #define B_AX_WD_ITVL_IDLE		GENMASK(27, 24)
>  #define B_AX_WD_ITVL_ACT		GENMASK(19, 16)

Patch applied to wireless-drivers-next.git, thanks.

090f8a2f7b38 rtw89: remove duplicate register definitions
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw89/pci.h b/drivers/net/wireless/realtek/rtw89/pci.h
index 34333c441aea..20e6767ea5c4 100644
--- a/drivers/net/wireless/realtek/rtw89/pci.h
+++ b/drivers/net/wireless/realtek/rtw89/pci.h
@@ -276,11 +276,6 @@ 
 #define B_AX_CH10_BUSY			BIT(0)
 
 /* Configure */
-#define R_AX_PCIE_INIT_CFG1	0x1000
-#define B_AX_PCIE_RXRST_KEEP_REG	BIT(23)
-#define B_AX_PCIE_TXRST_KEEP_REG	BIT(22)
-#define B_AX_DIS_RXDMA_PRE		BIT(2)
-
 #define R_AX_PCIE_INIT_CFG2		0x1004
 #define B_AX_WD_ITVL_IDLE		GENMASK(27, 24)
 #define B_AX_WD_ITVL_ACT		GENMASK(19, 16)