Skip to contentSkip to conversation

nvmem: lpc18xx_eeprom: remove unused variable

PATCH In review Bartosz Golaszewski 2 participants 2 messages Oct 3, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 nvmem: lpc18xx_eeprom: remove unused variable

From: Bartosz Golaszewski <[email protected]>

Remove a variable that's no longer used from lpc18xx_eeprom_remove().

---
v1 -> v2:
- added the Reported-by tag

 drivers/nvmem/lpc18xx_eeprom.c | 1 -
 1 file changed, 1 deletion(-)
drivers/nvmem/lpc18xx_eeprom.c +0 -1
index b42dbaddb419..66cff1e2147a 100644
@@ -255,7 +255,6 @@ static int lpc18xx_eeprom_probe(struct platform_device *pdev)
 static int lpc18xx_eeprom_remove(struct platform_device *pdev)
 {
 	struct lpc18xx_eeprom_dev *eeprom = platform_get_drvdata(pdev);
-	int ret;
 
 	clk_disable_unprepare(eeprom->clk);
 
Signature · 1 line
2.19.0
Acked-by on v2 1/1
#1 lore raw
Quoted 6 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

Remove a variable that's no longer used from lpc18xx_eeprom_remove().

Quoted 20 lines

---
v1 -> v2:
- added the Reported-by tag

  drivers/nvmem/lpc18xx_eeprom.c | 1 -
  1 file changed, 1 deletion(-)
drivers/nvmem/lpc18xx_eeprom.c +0 -1
index b42dbaddb419..66cff1e2147a 100644
@@ -255,7 +255,6 @@ static int lpc18xx_eeprom_probe(struct platform_device *pdev)
  static int lpc18xx_eeprom_remove(struct platform_device *pdev)
  {
  	struct lpc18xx_eeprom_dev *eeprom = platform_get_drvdata(pdev);
-	int ret;
 
  	clk_disable_unprepare(eeprom->clk);