Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a9e8bb5b60a9f5c10d38aebc13f8a3d2e1ffc0e7 Commit: a9e8bb5b60a9f5c10d38aebc13f8a3d2e1ffc0e7 Parent: 4cf85459e0db0b2ffd6c4112594b695bdbcff10f Author: Robert P. J. Day <[EMAIL PROTECTED]> AuthorDate: Mon May 28 14:51:29 2007 -0400 Committer: Wim Van Sebroeck <[EMAIL PROTECTED]> CommitDate: Sun Jun 3 13:21:36 2007 +0000
[WATCHDOG] Remove the redundant check for pwrite() in EP93XXX watchdog. Remove the redundant check for pwrite(), given that the open() routine already invokes nonseekable_open(). Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> Signed-off-by: Wim Van Sebroeck <[EMAIL PROTECTED]> --- drivers/char/watchdog/ep93xx_wdt.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/char/watchdog/ep93xx_wdt.c b/drivers/char/watchdog/ep93xx_wdt.c index 01cf123..0e4787a 100644 --- a/drivers/char/watchdog/ep93xx_wdt.c +++ b/drivers/char/watchdog/ep93xx_wdt.c @@ -107,10 +107,6 @@ static ssize_t ep93xx_wdt_write(struct file *file, const char __user *data, size_t len, loff_t *ppos) { - /* Can't seek (pwrite) on this device */ - if (*ppos != file->f_pos) - return -ESPIPE; - if (len) { if (!nowayout) { size_t i; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html