Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cf8a348 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Wim Van Sebroeck
Browse files

watchdog: shwdt: Remove unused variable



Variable "wdt" is not used anywhere in the function sh_wdt_remove().
This patch removes this variable.

Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent a9ba8376
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -293,8 +293,6 @@ static int sh_wdt_probe(struct platform_device *pdev)

static int sh_wdt_remove(struct platform_device *pdev)
{
	struct sh_wdt *wdt = platform_get_drvdata(pdev);

	watchdog_unregister_device(&sh_wdt_dev);

	pm_runtime_disable(&pdev->dev);