dect
/
linux-2.6
Archived
13
0
Fork 0

[WATCHDOG] mv64x60_wdt: Check return value of nonseekable_open

Return the value of the nonseekable_open function and not 0.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
This commit is contained in:
Dale Farnsworth 2007-07-24 11:13:26 -07:00 committed by Wim Van Sebroeck
parent 7e07a15913
commit 861e513770
1 changed files with 1 additions and 3 deletions

View File

@ -90,9 +90,7 @@ static int mv64x60_wdt_open(struct inode *inode, struct file *file)
mv64x60_wdt_service();
mv64x60_wdt_handler_enable();
nonseekable_open(inode, file);
return 0;
return nonseekable_open(inode, file);
}
static int mv64x60_wdt_release(struct inode *inode, struct file *file)