From: Kim, Milo Date: Tue, 26 Mar 2013 07:26:49 +0000 (+0000) Subject: watchdog: softdog: remove replaceable ping operation X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=086f3ec187a18e29f8f36ebd4ae9eb8d48d9fd03;p=openwrt%2Fstaging%2Fblogic.git watchdog: softdog: remove replaceable ping operation In watchdog_ping(), 'start' is called automatically when 'ping' function call is not configured. Softdog driver has same handling in both cases - start and ping, so 'ping' OPS can be removed. Signed-off-by: Milo(Woogyom) Kim Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/softdog.c b/drivers/watchdog/softdog.c index fe83beb8f1b7..b68b1e519d53 100644 --- a/drivers/watchdog/softdog.c +++ b/drivers/watchdog/softdog.c @@ -152,7 +152,6 @@ static struct watchdog_ops softdog_ops = { .owner = THIS_MODULE, .start = softdog_ping, .stop = softdog_stop, - .ping = softdog_ping, .set_timeout = softdog_set_timeout, };