git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mISDN: remove unnecessary test on f_pos
[pandora-kernel.git]
/
drivers
/
isdn
/
mISDN
/
timerdev.c
diff --git
a/drivers/isdn/mISDN/timerdev.c
b/drivers/isdn/mISDN/timerdev.c
index
c3243c9
..
81048b8
100644
(file)
--- a/
drivers/isdn/mISDN/timerdev.c
+++ b/
drivers/isdn/mISDN/timerdev.c
@@
-98,8
+98,6
@@
mISDN_read(struct file *filep, char __user *buf, size_t count, loff_t *off)
if (*debug & DEBUG_TIMER)
printk(KERN_DEBUG "%s(%p, %p, %d, %p)\n", __func__,
filep, buf, (int)count, off);
- if (*off != filep->f_pos)
- return -ESPIPE;
if (list_empty(&dev->expired) && (dev->work == 0)) {
if (filep->f_flags & O_NONBLOCK)