aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/watchdog/mv64x60_wdt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/char/watchdog/mv64x60_wdt.c b/drivers/char/watchdog/mv64x60_wdt.c
index 064e18034395..f1516b4b22a1 100644
--- a/drivers/char/watchdog/mv64x60_wdt.c
+++ b/drivers/char/watchdog/mv64x60_wdt.c
@@ -90,9 +90,7 @@ static int mv64x60_wdt_open(struct inode *inode, struct file *file)
90 mv64x60_wdt_service(); 90 mv64x60_wdt_service();
91 mv64x60_wdt_handler_enable(); 91 mv64x60_wdt_handler_enable();
92 92
93 nonseekable_open(inode, file); 93 return nonseekable_open(inode, file);
94
95 return 0;
96} 94}
97 95
98static int mv64x60_wdt_release(struct inode *inode, struct file *file) 96static int mv64x60_wdt_release(struct inode *inode, struct file *file)