Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10170795ybi; Thu, 11 Jul 2019 00:47:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqywhmDnddj9hHxACmpHSY6FC33l4+OPH7kd8d1m7GTNTEu2brF9vxwk67lgJvMYMnFdyDKK X-Received: by 2002:a63:4c19:: with SMTP id z25mr2988226pga.47.1562831279722; Thu, 11 Jul 2019 00:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562831279; cv=none; d=google.com; s=arc-20160816; b=KcUU7nKsCEcsknYBvZp4Ix1UOxeRYUYlXuLOhOjHWku2D5giuQcRVxfxm+PvVxiKPv FQCepWSvZt3FCou/6gXwJ8XdS7scjAgIQI3IuGD84gRlrEuj77rcKp25A4IAUR72t7te NlJfbVpW7jHJoMxUZ9vlV0YbEnrCUa/IKNF1EkTgGH3MipN3fCmP0jk5Bun/hciWwebM 6ZPcMFpJyzqaztLOsRW+zov8XRHFH9fkh95l790aV8rHK4nLDReezAx2RDhiPMRNLKnl 4Fs3m1wazc9TQKU9gKuIilQS5gtYoTkk3ooEhqVWQRoQuwTDNjMw6U3EWucSpXPzXsE2 AR3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references; bh=AbeKN8VSYsjXNosGgr4ncceJALk+HzllGPEbAdOfgCw=; b=Ov6rhmWIUJ1pA1TiBaCZgUM7MOvxBnfg7bipKkJu7lYvyG2lTDF99GXPkNVzTjlvbH rZO8f9vJtzP8RU4uyoW8Z7jdgV+jIs1ScWgJT89j78L5om3sLYbsOqGK9wGL+3kCKjfk V9Sq9lkzWLUYXCrr7AATfWz1xExNlsP0KjqR4vSVRDrUY67ZhhdWx6XLikkfcduB8ktY WGQrfErhNrDrGMa+J1bhbzafaKCBlCkip7xvO0wFk1h6+llWLAFjh0kbGJrv4x2UAbEd VjMg0J2SZcs7c19iEVmmWD//mPj1dT51lVYUSExoGtAPSd+rKJVrvlyypyOxDGYXOjjE ZTcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 u3si4263300plz.201.2019.07.11.00.47.43; Thu, 11 Jul 2019 00:47:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728147AbfGKHnn (ORCPT + 99 others); Thu, 11 Jul 2019 03:43:43 -0400 Received: from guitar.tcltek.co.il ([192.115.133.116]:34542 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726088AbfGKHnn (ORCPT ); Thu, 11 Jul 2019 03:43:43 -0400 Received: from tarshish (unknown [10.0.8.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id 834F344039B; Thu, 11 Jul 2019 10:43:39 +0300 (IDT) References: <20190711064019.60916-1-yuehaibing@huawei.com> User-agent: mu4e 1.0; emacs 26.1 From: Baruch Siach To: YueHaibing Cc: wim@linux-watchdog.org, linux@roeck-us.net, wsa+renesas@sang-engineering.com, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] watchdog: digicolor_wdt: remove unused variable 'ret' In-reply-to: <20190711064019.60916-1-yuehaibing@huawei.com> Date: Thu, 11 Jul 2019 10:43:39 +0300 Message-ID: <874l3tow2c.fsf@tarshish> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi YueHaibing, On Thu, Jul 11 2019, YueHaibing wrote: > commit cdad26977e3f ("watchdog: digicolor_wdt: drop > warning after registering device") left this unused > variable, it can be removed. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Third time's a charm: https://patchwork.kernel.org/patch/11037487/ https://patchwork.kernel.org/patch/11038317/ baruch > 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) -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -