[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190711064019.60916-1-yuehaibing@huawei.com>
Date: Thu, 11 Jul 2019 14:40:19 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <wim@...ux-watchdog.org>, <linux@...ck-us.net>,
<baruch@...s.co.il>, <wsa+renesas@...g-engineering.com>
CC: <linux-kernel@...r.kernel.org>, <linux-watchdog@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH] watchdog: digicolor_wdt: remove unused variable 'ret'
commit cdad26977e3f ("watchdog: digicolor_wdt: drop
warning after registering device") left this unused
variable, it can be removed.
Reported-by: Hulk Robot <hulkci@...wei.com>
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/watchdog/digicolor_wdt.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/watchdog/digicolor_wdt.c b/drivers/watchdog/digicolor_wdt.c
index 33cda95..073d378 100644
--- a/drivers/watchdog/digicolor_wdt.c
+++ b/drivers/watchdog/digicolor_wdt.c
@@ -118,7 +118,6 @@ static int dc_wdt_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct dc_wdt *wdt;
- int ret;
wdt = devm_kzalloc(dev, sizeof(struct dc_wdt), GFP_KERNEL);
if (!wdt)
--
2.7.4
Powered by blists - more mailing lists