projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9ba837
)
watchdog: shwdt: Remove unused variable
author
Alexander Shiyan
<shc_work@mail.ru>
Sat, 15 Feb 2014 09:23:07 +0000
(13:23 +0400)
committer
Wim Van Sebroeck
<wim@iguana.be>
Mon, 31 Mar 2014 11:28:00 +0000
(13:28 +0200)
Variable "wdt" is not used anywhere in the function sh_wdt_remove().
This patch removes this variable.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/shwdt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/watchdog/shwdt.c
b/drivers/watchdog/shwdt.c
index af3528f84d65469196d2a409dbcfc531a09e57c6..d04d02b41c329d9de7467d110ad2f595125bdc79 100644
(file)
--- a/
drivers/watchdog/shwdt.c
+++ b/
drivers/watchdog/shwdt.c
@@
-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);