nvmem: lpc18xx_eeprom: remove unused variable
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 3 Oct 2018 07:24:30 +0000 (09:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Oct 2018 13:56:15 +0000 (15:56 +0200)
Remove a variable that's no longer used from lpc18xx_eeprom_remove().

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/lpc18xx_eeprom.c

index b42dbad..66cff1e 100644 (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);