]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
watchdog: omap_wdt: eliminate unused variable and a compiler warning
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 23 Dec 2012 20:03:36 +0000 (22:03 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 2 Jan 2013 11:06:58 +0000 (12:06 +0100)
commit412b3729dd0234771c67452b8999191f1e8d8630
tree2acd40d2daf8ebbda60aaa14ffcc0f58b4870fd4
parent98e4a293895dda2b74476ac3a9f79c58b5d0155a
watchdog: omap_wdt: eliminate unused variable and a compiler warning

We forgot to delete this in the commit 4f4753d9 (watchdog: omap_wdt:
convert to devm_ functions), and as a result the following compilation
warning was introduced:

drivers/watchdog/omap_wdt.c: In function 'omap_wdt_remove':
drivers/watchdog/omap_wdt.c:299:19: warning: unused variable 'res' [-Wunused-variable]

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/omap_wdt.c