summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/sunxi_sid.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-09-21 06:40:25 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-28 15:14:55 +0200
commit4876bfe6cdecc5037fed6959425fe0cb2af19d98 (patch)
treecf2589d09cdd264587ab52755519a58b7c848b51 /drivers/nvmem/sunxi_sid.c
parente7e07f4f7b452c8c2a113db28902e41c9daca855 (diff)
downloadlinux-4876bfe6cdecc5037fed6959425fe0cb2af19d98.tar.bz2
nvmem: sunxi_sid: remove unused variable in probe
This patch fixes below warning: sunxi_sid.c:157:6: warning: unused variable 'ret' [-Wunused-variable] Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/sunxi_sid.c')
-rw-r--r--drivers/nvmem/sunxi_sid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvmem/sunxi_sid.c b/drivers/nvmem/sunxi_sid.c
index 1310f8af37f8..570a2e354f30 100644
--- a/drivers/nvmem/sunxi_sid.c
+++ b/drivers/nvmem/sunxi_sid.c
@@ -154,7 +154,7 @@ static int sunxi_sid_probe(struct platform_device *pdev)
struct resource *res;
struct nvmem_device *nvmem;
struct sunxi_sid *sid;
- int ret, i, size;
+ int i, size;
char *randomness;
const struct sunxi_sid_cfg *cfg;