diff mbox series

reset: keystone-reset: remove unused macros

Message ID 20241025090659.33458-1-bajing@cmss.chinamobile.com
State Accepted
Commit 7263d7df054e8b7759727d8fde62eca648189cc5
Headers show
Series reset: keystone-reset: remove unused macros | expand

Commit Message

Ba Jing Oct. 25, 2024, 9:06 a.m. UTC
After reviewing the code, it was found that these macros are never
referenced in the code. Just remove them.

Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
---
 drivers/power/reset/keystone-reset.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Sebastian Reichel Nov. 11, 2024, 10:13 p.m. UTC | #1
On Fri, 25 Oct 2024 17:06:59 +0800, Ba Jing wrote:
> After reviewing the code, it was found that these macros are never
> referenced in the code. Just remove them.
> 
> 

Applied, thanks!

[1/1] reset: keystone-reset: remove unused macros
      commit: 7263d7df054e8b7759727d8fde62eca648189cc5

Best regards,
diff mbox series

Patch

diff --git a/drivers/power/reset/keystone-reset.c b/drivers/power/reset/keystone-reset.c
index dbc4ff61cd74..cfaa54ced0d0 100644
--- a/drivers/power/reset/keystone-reset.c
+++ b/drivers/power/reset/keystone-reset.c
@@ -16,7 +16,6 @@ 
 #include <linux/mfd/syscon.h>
 #include <linux/of.h>
 
-#define RSTYPE_RG			0x0
 #define RSCTRL_RG			0x4
 #define RSCFG_RG			0x8
 #define RSISO_RG			0xc
@@ -28,7 +27,6 @@ 
 #define RSMUX_OMODE_MASK		0xe
 #define RSMUX_OMODE_RESET_ON		0xa
 #define RSMUX_OMODE_RESET_OFF		0x0
-#define RSMUX_LOCK_MASK			0x1
 #define RSMUX_LOCK_SET			0x1
 
 #define RSCFG_RSTYPE_SOFT		0x300f