summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2018-10-03 09:24:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-15 15:56:15 +0200
commit098ec84f1ad2f7b9a4c88bf61fab021ac2876173 (patch)
treed76af5ea74b43433b39df6b842396510dcf045ed /drivers/nvmem
parentcccb3b19e762edc8ef0481be506967555cb9e317 (diff)
downloadblackbird-op-linux-098ec84f1ad2f7b9a4c88bf61fab021ac2876173.tar.gz
blackbird-op-linux-098ec84f1ad2f7b9a4c88bf61fab021ac2876173.zip
nvmem: lpc18xx_eeprom: remove unused variable
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>
Diffstat (limited to 'drivers/nvmem')
-rw-r--r--drivers/nvmem/lpc18xx_eeprom.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvmem/lpc18xx_eeprom.c b/drivers/nvmem/lpc18xx_eeprom.c
index b42dbaddb419..66cff1e2147a 100644
--- a/drivers/nvmem/lpc18xx_eeprom.c
+++ b/drivers/nvmem/lpc18xx_eeprom.c
@@ -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);
OpenPOWER on IntegriCloud