diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/watchdog/pnx4008_wdt.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/watchdog/pnx4008_wdt.c b/drivers/char/watchdog/pnx4008_wdt.c index 5991add702b0..22f8873dd092 100644 --- a/drivers/char/watchdog/pnx4008_wdt.c +++ b/drivers/char/watchdog/pnx4008_wdt.c | |||
@@ -148,10 +148,6 @@ static ssize_t | |||
148 | pnx4008_wdt_write(struct file *file, const char *data, size_t len, | 148 | pnx4008_wdt_write(struct file *file, const char *data, size_t len, |
149 | loff_t * ppos) | 149 | loff_t * ppos) |
150 | { | 150 | { |
151 | /* Can't seek (pwrite) on this device */ | ||
152 | if (ppos != &file->f_pos) | ||
153 | return -ESPIPE; | ||
154 | |||
155 | if (len) { | 151 | if (len) { |
156 | if (!nowayout) { | 152 | if (!nowayout) { |
157 | size_t i; | 153 | size_t i; |