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 d80b72e22dea..ce753e9c576b 100644 --- a/drivers/net/wan/cosa.c +++ b/drivers/net/wan/cosa.c | |||
@@ -993,8 +993,8 @@ static struct fasync_struct *fasync[256] = { NULL, }; | |||
993 | static int cosa_fasync(struct inode *inode, struct file *file, int on) | 993 | static int cosa_fasync(struct inode *inode, struct file *file, int on) |
994 | { | 994 | { |
995 | int port = iminor(inode); | 995 | int port = iminor(inode); |
996 | int rv = fasync_helper(inode, file, on, &fasync[port]); | 996 | |
997 | return rv < 0 ? rv : 0; | 997 | return fasync_helper(inode, file, on, &fasync[port]); |
998 | } | 998 | } |
999 | #endif | 999 | #endif |
1000 | 1000 | ||