nvmem: lpc18xx_eeprom: remove unused variable

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

Signed-off-by: Bartosz Golaszewski <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
Acked-by: Srinivas Kandagatla <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Bartosz Golaszewski 2018-10-03 09:24:30 +02:00 • committed by Greg Kroah-Hartman
commit 098ec84f1a

View file

@ -255,7 +255,6 @@ err_clk:
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);