From patchwork Sat Feb 10 20:36:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Folkesson X-Patchwork-Id: 10210637 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C3ACC60329 for ; Sun, 11 Feb 2018 00:46:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B11DA29151 for ; Sun, 11 Feb 2018 00:46:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A37A12924F; Sun, 11 Feb 2018 00:46:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RDNS_NONE autolearn=no version=3.3.1 Received: from bombadil.infradead.org (unknown [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3486229151 for ; Sun, 11 Feb 2018 00:46:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=6OmcGGn8K8WV8YgTdaLMAkicemJTKe+nXHfwci1FIbA=; b=PVa0ZUzMfIVYuy+z8S/cPDj7TE PsgZTYiq1HvGmGBgmonz3yTWJIyJcNncz+j9wzZcSvpYr615lQME2uS5bXLGmVCZ9g1fPRCNxnIMC w4vde4BTpadCHyVSV6f0KDpT2xfCqH7NScyVC8DT0gNuY4yM+3bHrpOONaGTIQEaUl0dr7Vc+PW/Y 4hL03loZ6akfA5pakcU4q1my5bHpG6jUGXqWNVDl80I02i58Nzsl98Qm5IqQ9SVkcecXskIUhQMji aCGyXXpbfneqbz30KVxqnVnQa7JmjRxRjldMnUvEPdsKGkaoupdzqnhzBsq4VA8Vz2kg6Zokqt9tL S8HLT5KQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ekfmt-0000Ok-90; Sun, 11 Feb 2018 00:46:36 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ekflS-00064m-3u for linux-arm-kernel@bombadil.infradead.org; Sun, 11 Feb 2018 00:45:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=TGuaWm29/4BHjOpzJ0Dd76+kbl+GRo5oTvVwF3rv8Nk=; b=wLcaDa7h6xo/cQ7Cp/nLPu8si CcJMDvyW2dnhzm5f2OFrh8Wc+Axohv3VI5RyiHLCq/nF47c50/YH9f7+RlKgElAXKKNkIhmVBlgx8 MkCOi7cSUudQ4N8qdY+Lr3+PmpYq8KvwyAkl5bsOU9lxTbBNHcsy/bi2n+7zXarjJK/TIVAG+jhnz xpADcAkmRx3H4dxux9hJCSsiCTYbB1Jr15Jy+T8RslQur6djsUcOjUxl7+y2vMdDv+ozIY35kKVuk UGt8PPth7mxUSe12psRedLbgWnHu1bTF9C8IRcOydvChiuc3aQBae6j1+EjpsTln2hmCDjZCVALEA R4uLauRQQ==; Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ekbvB-0006PK-Js for linux-arm-kernel@lists.infradead.org; Sat, 10 Feb 2018 20:38:55 +0000 Received: by mail-lf0-x243.google.com with SMTP id i24so12531604lfc.7 for ; Sat, 10 Feb 2018 12:38:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TGuaWm29/4BHjOpzJ0Dd76+kbl+GRo5oTvVwF3rv8Nk=; b=Hb0p3RJbuOgtVvw1w/D6PzX2SixnnDYgxCLM4KITTRaFduXRDTyMQPtp5qcRN3V1Ty e/KyhCMK8X18LAmcwzR5hYkXA5uYab/QfbiBKjw+GHLw9eC0dctjbEz68iKrvDzd3QT4 js05y3ojxiJdnkQxfg2vhQH1fy0SYAlZ4XvxGuhh73LW2PIJO8x6Z7aUWy3lKzDFk6sT cw0OBVJCIrI7st8RYmfVcKPdnJKm6WzfayJQCQBxcXJhqNYKEfH77CrACUY/DsgjPVzJ 0yhMcevlSZ7f1CMX2EWLDWIy9UsAuxMLJ+Fbyt9NYrdErgFKmcOfD0ses4ozExKHXhNv jqbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TGuaWm29/4BHjOpzJ0Dd76+kbl+GRo5oTvVwF3rv8Nk=; b=ZR8RuNsu0GZ4vjbBBdF5nvWhz2KARZmzOG2O1TUiSmlhTiyMlERwWgMeidHd/0Tc+Q fLtO0Rs/zxuMAnFzT4DGX5sdpyr9O4P0L7IRUgVCsS/yg4kvwt4SUhmQi8J/ac9Ei3rx EQBc4py18IEHlAVE4HaOOdRG46DamAkP77+b4HkBhPpERCLE8/qMXHcxsnuCNSB2Yiie QebWh1Xd0kPR9u8eLmJ3cZvikCE9HfUqe8bxo4I7tKrIRU3KZZKmQ2SuJyhkDwPX9MXs /opuIO/KKw8h0RWXMyUBANTNjNIDITlahh7vogpkV3s40fxSZC+tG5fw9dw53QQzFGgj wpEw== X-Gm-Message-State: APf1xPCuX2HNaTmWFnEIiJp2bFjyg+OsRyO6UUt+yi20cfxfsUAPAmlJ hhztm0IpZOiIy6pVEqTM1to= X-Google-Smtp-Source: AH8x225o8ZqC5y/8mM325nQCzeOsNVrlB7JJx2gQjP2NaXgD/TILWGkWu8i8sxcRmw0ETmyVjO6wQg== X-Received: by 10.25.23.73 with SMTP id n70mr2359198lfi.96.1518295002915; Sat, 10 Feb 2018 12:36:42 -0800 (PST) Received: from localhost.localdomain ([46.194.112.145]) by smtp.gmail.com with ESMTPSA id d77sm928727ljd.31.2018.02.10.12.36.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Feb 2018 12:36:42 -0800 (PST) From: Marcus Folkesson To: Wim Van Sebroeck , Guenter Roeck , Joachim Eastwood Subject: [PATCH 4/4] watchdog: lpc18xx: remove assignment of unused ret-value Date: Sat, 10 Feb 2018 21:36:23 +0100 Message-Id: <20180210203623.17832-4-marcus.folkesson@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180210203623.17832-1-marcus.folkesson@gmail.com> References: <20180210203623.17832-1-marcus.folkesson@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180210_203853_645011_2F1FA781 X-CRM114-Status: UNSURE ( 9.27 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marcus Folkesson , linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Marcus Folkesson Reviewed-by: Guenter Roeck --- drivers/watchdog/lpc18xx_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/lpc18xx_wdt.c b/drivers/watchdog/lpc18xx_wdt.c index b4221f43cd94..331cadb459ac 100644 --- a/drivers/watchdog/lpc18xx_wdt.c +++ b/drivers/watchdog/lpc18xx_wdt.c @@ -265,7 +265,7 @@ static int lpc18xx_wdt_probe(struct platform_device *pdev) lpc18xx_wdt->wdt_dev.parent = dev; watchdog_set_drvdata(&lpc18xx_wdt->wdt_dev, lpc18xx_wdt); - ret = watchdog_init_timeout(&lpc18xx_wdt->wdt_dev, heartbeat, dev); + watchdog_init_timeout(&lpc18xx_wdt->wdt_dev, heartbeat, dev); __lpc18xx_wdt_set_timeout(lpc18xx_wdt);