2020-11-19 02:13:44

by Jisheng Zhang

[permalink] [raw]
Subject: [PATCH] mwifiex: Remove duplicated REG_PORT definition

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

Signed-off-by: Jisheng Zhang <[email protected]>
---
drivers/net/wireless/marvell/mwifiex/sdio.h | 2 --
1 file changed, 2 deletions(-)

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
--
2.29.2