projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'bkl-removal' of git://git.lwn.net/linux-2.6
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
wan
/
cosa.c
diff --git
a/drivers/net/wan/cosa.c
b/drivers/net/wan/cosa.c
index d276d72ee3b78027c2fa09d20fdd34571d6475c0..61581ee5f08c0699cd88fb4dabd42b511109859f 100644
(file)
--- a/
drivers/net/wan/cosa.c
+++ b/
drivers/net/wan/cosa.c
@@
-998,8
+998,8
@@
static struct fasync_struct *fasync[256] = { NULL, };
static int cosa_fasync(struct inode *inode, struct file *file, int on)
{
int port = iminor(inode);
- int rv = fasync_helper(inode, file, on, &fasync[port]);
-
return rv < 0 ? rv : 0
;
+
+
return fasync_helper(inode, file, on, &fasync[port])
;
}
#endif