From: Tomas Winkler Date: Sun, 3 Jan 2016 11:32:37 +0000 (+0200) Subject: watchdog: kill unref/ref ops X-Git-Tag: v4.5-rc1~79^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62cd1c40ce1c7c16835b599751c7a002eb5bbdf5;p=thirdparty%2Fkernel%2Flinux.git watchdog: kill unref/ref ops ref/unref ops are not called at all so even marked them as deprecated is misleading, we need to just drop the API. Signed-off-by: Tomas Winkler Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- diff --git a/include/linux/watchdog.h b/include/linux/watchdog.h index 850af04fe0c72..aaabd4703b463 100644 --- a/include/linux/watchdog.h +++ b/include/linux/watchdog.h @@ -47,8 +47,6 @@ struct watchdog_ops { int (*set_timeout)(struct watchdog_device *, unsigned int); unsigned int (*get_timeleft)(struct watchdog_device *); int (*restart)(struct watchdog_device *); - void (*ref)(struct watchdog_device *) __deprecated; - void (*unref)(struct watchdog_device *) __deprecated; long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long); };