Message ID | 1427831308-1854-10-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/net/socket.c b/net/socket.c index dc57dae..404be5e 100644 --- a/net/socket.c +++ b/net/socket.c @@ -885,9 +885,6 @@ static ssize_t sock_splice_read(struct file *file, loff_t *ppos, static struct sock_iocb *alloc_sock_iocb(struct kiocb *iocb, struct sock_iocb *siocb) { - if (!is_sync_kiocb(iocb)) - BUG(); - siocb->kiocb = iocb; iocb->private = siocb; return siocb;