watchdog: shwdt: Trim down private data structure.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 10 May 2012 06:20:18 +0000 (15:20 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 10 May 2012 06:20:18 +0000 (15:20 +0900)
Now that we're using the generic watchdog core, kill off unused
elements from the private data structure.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/watchdog/shwdt.c

index 0d734a38d29f2e941f72967a0f826b402c068a69..de3630d6bd4d46c6087b498a8fe51f0306a2e998 100644 (file)
@@ -77,9 +77,6 @@ struct sh_wdt {
        spinlock_t              lock;
 
        struct timer_list       timer;
-
-       unsigned long           enabled;
-       char                    expect_close;
 };
 
 static int sh_wdt_start(struct watchdog_device *wdt_dev)