2023-11-27 20:19:31

by Marc Ferland

[permalink] [raw]
Subject: [PATCH v2 2/5] w1: ds2433: remove unused definition

From: Marc Ferland <[email protected]>

W1_F23_TIME isn't used anywhere, get rid of it.

Signed-off-by: Marc Ferland <[email protected]>
---
drivers/w1/slaves/w1_ds2433.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/w1/slaves/w1_ds2433.c b/drivers/w1/slaves/w1_ds2433.c
index 9f21fd98f799..e18523ef8c45 100644
--- a/drivers/w1/slaves/w1_ds2433.c
+++ b/drivers/w1/slaves/w1_ds2433.c
@@ -30,8 +30,6 @@
#define W1_PAGE_BITS 5
#define W1_PAGE_MASK 0x1F

-#define W1_F23_TIME 300
-
#define W1_F23_READ_EEPROM 0xF0
#define W1_F23_WRITE_SCRATCH 0x0F
#define W1_F23_READ_SCRATCH 0xAA
--
2.34.1