Skip to content

Commit

Permalink
watchdog: softdog: remove replaceable ping operation
Browse files Browse the repository at this point in the history
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 <milo.kim@ti.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
Kim, Milo authored and Wim Van Sebroeck committed Jul 11, 2013
1 parent 26c57ef commit 086f3ec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/watchdog/softdog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 086f3ec

Please sign in to comment.