Skip to contentSkip to conversation

mfd: da9053: Drop unused 'priority' variable

PATCH In review Andrey Smirnov 2 participants 3 messages Sep 7, 2019 – Sep 9, 2019 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mfd: da9053: Drop unused 'priority' variable

---
 drivers/mfd/da9053.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/da9053.c +0 -1
index f65f3e0bb2..1faba813be 100644
@@ -214,7 +214,6 @@ static int da9053_set_timeout(struct watchdog *wd, unsigned timeout)
 
 static void da9053_detect_reset_source(struct da9053_priv *da9053)
 {
-	unsigned int priority;
 	enum reset_src_type type;
 	int ret;
 	u8 val;
Signature · 7 lines
2.21.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

PATCH 2/2 mfd: da9063: Drop unused 'priority' variable

---
 drivers/mfd/da9063.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mfd/da9063.c +0 -1
index e2aa9211e6..5f77e5935b 100644
@@ -161,7 +161,6 @@ static void da9063_detect_reset_source(struct da9063 *priv)
 {
 	int ret;
 	u8 val;
-	unsigned int priority;
 	enum reset_src_type type;
 
 	ret = i2c_read_reg(priv->client, DA9063_REG_FAULT_LOG, &val, 1);
Signature · 7 lines
2.21.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
In reply to Andrey Smirnov
Quoted 4 lines · Andrey Smirnov
---
 drivers/mfd/da9053.c | 1 -
 1 file changed, 1 deletion(-)

Squashed these into the patches that removed the usage of these variables.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox