]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: s3c2410_wdt: Remove unneeded initialization
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 4 Mar 2014 09:34:34 +0000 (15:04 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 31 Mar 2014 11:32:34 +0000 (13:32 +0200)
commitc03f64db48b6ec47e61d0a594ae450b7c24e06ca
tree940c3d20d4e1573674d84e9281c271605bd7a7c6
parent5f9b71911e881bdfe99e12011fba7fa6a2f6aba4
watchdog: s3c2410_wdt: Remove unneeded initialization

Initializing clk to NULL as a reset/error condition does not
help as NULL is not an invalid condition w.r.t clk. Remove this
initialization altogether as there is no state retention.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/s3c2410_wdt.c