From patchwork Wed Jul 10 08:08:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 168788 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp9628574ilk; Wed, 10 Jul 2019 01:09:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzV28J1F2wQkWoZCGC0tt4zDUiVy5JW/hw5WsuS6fnO3KMWUa/FMY3McR1C7bUk4batwqte X-Received: by 2002:a63:7114:: with SMTP id m20mr155764pgc.439.1562746183373; Wed, 10 Jul 2019 01:09:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562746183; cv=none; d=google.com; s=arc-20160816; b=PzvAWIamoIf8hz609SlaMiVLII1v1AxDAcoh60pH3qK1Bry2qaB5cnHjyaFYyMGFrj VYenb+ah5Zys9Yk+faSVgatmmjSXf4hn+URnwhsz8wNFL3T9+XMIp3yMjUaqgxZB6sI9 84qYJlCAEiIDCLqD+gqaenXoq7D9IbPbfnmqzIvoh3Cnu0TZsrMQIU+cf8Bht0OFUj5G vi5oH+3ortPNS8VlocQgzRJ5gxTg/1pTmk1uhNr0DEZH6xBYhz83k79Hs98QJ30W1XLe 0NmLlf/50fTnQkDeuaL0Zz/CeLBcT12Lo7PT9EzWfYgQ9awS32jnoH92bMg1tyw9tttW GSaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=kduTtrpUe9Xvl6ErfiDpyK4z8AYzfZh2HIcilGEdBMg=; b=AG7FwVwhI0GpjL7G+czlXNleP4cU439LiEyr2sMfDMoiiGCtrac+g5KKFgwVQPaW82 JuyRtMCFIHQrSiSDz/FaVwO7PLX5/IfSJGl2xzcBH35UGsHJ4PUlSF1cA5rwJwgzIvlJ UqEM620YFHHvf+1FvCx6CUCFKS6IPJlLhUmFKm3qB6dho5Ci5RnRaZBU3MLGNtUM+efc vokSNP7Gs+RZvbiIK1Wfi32gT/LlFQoqoJ/SwYBJ/ZqyDtWrytu4NavlQxJ8pa2cEyuj h5+lHHaCjE1DTYXT/zwSjQf2j+/XL+rwKFQd2VatpZIYjJmnRZpA4cmb5BOJx754oadQ JpXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d39si1470346pla.371.2019.07.10.01.09.43 for ; Wed, 10 Jul 2019 01:09:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727459AbfGJIJn (ORCPT ); Wed, 10 Jul 2019 04:09:43 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:47013 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726097AbfGJIJn (ORCPT ); Wed, 10 Jul 2019 04:09:43 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1MvazO-1ibIbl3YHu-00sfRH; Wed, 10 Jul 2019 10:09:07 +0200 From: Arnd Bergmann To: Wim Van Sebroeck , Guenter Roeck , Baruch Siach Cc: Arnd Bergmann , Wolfram Sang , Patrice Chotard , Maxime Ripard , Michal Simek , linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] watchdog: digicolor_wdt: drop unused variable Date: Wed, 10 Jul 2019 10:08:57 +0200 Message-Id: <20190710080904.317599-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:mZ/4FmETA2N1iae5b2XmeS50rziApGWR+vb3D9a2WJ7k0ERculc ghh1DBVjPjlVFmFiUNa5WGCPIuQYF8zGQL06OabeHJT646KmHfuARB9U/YUq3soLwSLVPtg 9VHbUI1gwlvlsDfDXGb3IZeiVPPBG5wRPphlG/ypn8e2103N1Cm84rMXw5kCpLby0IdT3Yp zEqBRLn0YPMkI6bTSJZfQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:mLuOMZv1Qn4=:XbQMW6B70avtrAIu/4Zx94 kMkzCWYXuEqlLAzEpoMJt8Su4mBtp3ADnOk1w3r1rMCFH1hZL+xhjYtaVcgyVDtIQCpDFHFBQ 8xjIgGJuRTfFFD9EYq3ZLAR4m8+4Vx8CerfachcGURZHoKlPmNZ6pMlQpeVwZvEAndUr8WtQY tqDOzeRm5MWuyjsbpKaM72yfb3wHpQCtZc5W6xKAEnBfRR3zM1pQouIxOwwxmGzH/DD/cvW8g xk9tjcqFrKCT1l4kVPX4uPnU0XozJhgbtM3vGi92CnnsIwreZu7OiyNC39BuhpIRxCgCBlYIL FeNP5Vtx5qEjYdQepOT76T1x/2NprVJIZf4J+vIWJVE8AHSzYR/wI07GIqgSIMo6uWWAeOECj 9ZvSFCG3zVOdkSf0LW1Iam/rAc7fBxz620T9oKduPZvsou2PSf1splv+U0f3qJTsWi4YHhio/ VXLn47cikQ7oc4oYkQ+J9rNsdTwfi/IfqPRqgQ6Rpnwt0nJhQPgIJ3djJiYamtB711EuwCvk6 P7NVDy+NE2MW8RH0015N65kNS7I34PgIzcTlPwkiiYroQmzKCmySaaj7+vVOnaETIGAKv9ezx Mq3E/SYMR5kq2Ap+/0dh8YaLI5sbeNTck/CMRq1om/Ay7VYuc+px6aenndWwuPo6oDcsm2hQX KxnwtDtsAS6KUDlUtw0glRF9Y6lv3Rn/jQF0pDUCs4Gv3wIw8eMzI5nLxFm4OScnZeoUHeoE7 Hqnuc6nHCDOjM0qnUGountlPKdAx6WDxjg6AbQ== Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org The last cleanup patch left behind an unused variable that should have been removed as well: drivers/watchdog/digicolor_wdt.c:121:6: error: unused variable 'ret' [-Werror,-Wunused-variable] Fixes: cdad26977e3f ("watchdog: digicolor_wdt: drop warning after registering device") Signed-off-by: Arnd Bergmann --- drivers/watchdog/digicolor_wdt.c | 1 - 1 file changed, 1 deletion(-) -- 2.20.0 Acked-by: Baruch Siach diff --git a/drivers/watchdog/digicolor_wdt.c b/drivers/watchdog/digicolor_wdt.c index 33cda95bd238..073d37867f47 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)