[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230816130057.28717-1-quic_kbajaj@quicinc.com>
Date: Wed, 16 Aug 2023 18:30:57 +0530
From: Komal Bajaj <quic_kbajaj@...cinc.com>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Stephen Rothwell <sfr@...b.auug.org.au>
CC: <linux-kernel@...r.kernel.org>,
Komal Bajaj <quic_kbajaj@...cinc.com>,
kernel test robot <lkp@...el.com>
Subject: [PATCH] nvmem: sec-qfprom: Remove unused variable 'ret'
This fixes:
drivers/nvmem/sec-qfprom.c:59:13: warning: unused variable 'ret' [-Wunused-variable]
Fixes: 9c7f2bce8a0e ("nvmem: sec-qfprom: Add Qualcomm secure QFPROM support")
Reported-by: kernel test robot <lkp@...el.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308142248.QsUg82Wt-lkp@intel.com/
Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
Closes: https://lore.kernel.org/linux-next/20230815202508.0523ecce@canb.auug.org.au/
Signed-off-by: Komal Bajaj <quic_kbajaj@...cinc.com>
---
drivers/nvmem/sec-qfprom.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/nvmem/sec-qfprom.c b/drivers/nvmem/sec-qfprom.c
index 868a91c81197..e48c2dc0c44b 100644
--- a/drivers/nvmem/sec-qfprom.c
+++ b/drivers/nvmem/sec-qfprom.c
@@ -56,7 +56,6 @@ static int sec_qfprom_probe(struct platform_device *pdev)
struct nvmem_device *nvmem;
struct sec_qfprom *priv;
struct resource *res;
- int ret;
priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
if (!priv)
--
2.41.0
Powered by blists - more mailing lists