diff options
Diffstat (limited to 'drivers/net/wan/cosa.c')
-rw-r--r-- | drivers/net/wan/cosa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c index d276d72ee3b7..61581ee5f08c 100644 --- a/drivers/net/wan/cosa.c +++ b/drivers/net/wan/cosa.c | |||
@@ -998,8 +998,8 @@ static struct fasync_struct *fasync[256] = { NULL, }; | |||
998 | static int cosa_fasync(struct inode *inode, struct file *file, int on) | 998 | static int cosa_fasync(struct inode *inode, struct file *file, int on) |
999 | { | 999 | { |
1000 | int port = iminor(inode); | 1000 | int port = iminor(inode); |
1001 | int rv = fasync_helper(inode, file, on, &fasync[port]); | 1001 | |
1002 | return rv < 0 ? rv : 0; | 1002 | return fasync_helper(inode, file, on, &fasync[port]); |
1003 | } | 1003 | } |
1004 | #endif | 1004 | #endif |
1005 | 1005 | ||