]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
watchdog: kill unref/ref ops
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 3 Jan 2016 11:32:37 +0000 (13:32 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 11 Jan 2016 20:52:51 +0000 (21:52 +0100)
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 <tomas.winkler@intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
include/linux/watchdog.h

index 850af04fe0c72c02fe4957aab3321ed89c474d4c..aaabd4703b4630387b428b057facd41ab7cc2907 100644 (file)
@@ -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);
 };