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>
This commit is contained in:
Srinivas Kandagatla 2018-09-21 06:40:25 -07:00 committed by Greg Kroah-Hartman
parent e7e07f4f7b
commit 4876bfe6cd

View File

@ -154,7 +154,7 @@ static int sunxi_sid_probe(struct platform_device *pdev)
struct resource *res; struct resource *res;
struct nvmem_device *nvmem; struct nvmem_device *nvmem;
struct sunxi_sid *sid; struct sunxi_sid *sid;
int ret, i, size; int i, size;
char *randomness; char *randomness;
const struct sunxi_sid_cfg *cfg; const struct sunxi_sid_cfg *cfg;