diff mbox series

mwifiex: Remove duplicated REG_PORT definition

Message ID 20201119101204.72fd5f0a@xhacker.debian
State New
Headers show
Series mwifiex: Remove duplicated REG_PORT definition | expand

Commit Message

Jisheng Zhang Nov. 19, 2020, 2:12 a.m. UTC
The REG_PORT is defined twice, so remove one of them.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
---
 drivers/net/wireless/marvell/mwifiex/sdio.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Kalle Valo Nov. 24, 2020, 3:07 p.m. UTC | #1
Jisheng Zhang <Jisheng.Zhang@synaptics.com> wrote:

> The REG_PORT is defined twice, so remove one of them.

> 

> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>


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

3c72d3843e22 mwifiex: Remove duplicated REG_PORT definition

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20201119101204.72fd5f0a@xhacker.debian/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
diff mbox series

Patch

diff --git a/drivers/net/wireless/marvell/mwifiex/sdio.h b/drivers/net/wireless/marvell/mwifiex/sdio.h
index dec534a6ddb1..5648512c9300 100644
--- a/drivers/net/wireless/marvell/mwifiex/sdio.h
+++ b/drivers/net/wireless/marvell/mwifiex/sdio.h
@@ -43,8 +43,6 @@ 
 #define BLOCK_MODE	1
 #define BYTE_MODE	0
 
-#define REG_PORT			0
-
 #define MWIFIEX_SDIO_IO_PORT_MASK		0xfffff
 
 #define MWIFIEX_SDIO_BYTE_MODE_MASK	0x80000000