diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2018-09-21 06:40:25 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-28 15:14:55 +0200 |
commit | 4876bfe6cdecc5037fed6959425fe0cb2af19d98 (patch) | |
tree | cf2589d09cdd264587ab52755519a58b7c848b51 /drivers/nvmem | |
parent | e7e07f4f7b452c8c2a113db28902e41c9daca855 (diff) | |
download | linux-4876bfe6cdecc5037fed6959425fe0cb2af19d98.tar.gz |
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')
-rw-r--r-- | drivers/nvmem/sunxi_sid.c | 2 |
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; |