diff options
Diffstat (limited to 'drivers/char/watchdog/ep93xx_wdt.c')
-rw-r--r-- | 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 01cf123b1616..0e4787a0bb87 100644 --- a/drivers/char/watchdog/ep93xx_wdt.c +++ b/drivers/char/watchdog/ep93xx_wdt.c | |||
@@ -107,10 +107,6 @@ static ssize_t | |||
107 | ep93xx_wdt_write(struct file *file, const char __user *data, size_t len, | 107 | ep93xx_wdt_write(struct file *file, const char __user *data, size_t len, |
108 | loff_t *ppos) | 108 | loff_t *ppos) |
109 | { | 109 | { |
110 | /* Can't seek (pwrite) on this device */ | ||
111 | if (*ppos != file->f_pos) | ||
112 | return -ESPIPE; | ||
113 | |||
114 | if (len) { | 110 | if (len) { |
115 | if (!nowayout) { | 111 | if (!nowayout) { |
116 | size_t i; | 112 | size_t i; |