From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752515AbeBJUgs (ORCPT ); Sat, 10 Feb 2018 15:36:48 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:36511 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752230AbeBJUgo (ORCPT ); Sat, 10 Feb 2018 15:36:44 -0500 X-Google-Smtp-Source: AH8x225o8ZqC5y/8mM325nQCzeOsNVrlB7JJx2gQjP2NaXgD/TILWGkWu8i8sxcRmw0ETmyVjO6wQg== From: Marcus Folkesson To: Wim Van Sebroeck , Guenter Roeck , Joachim Eastwood Cc: Marcus Folkesson , linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Marcus Folkesson --- 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); -- 2.15.1