diff options
Diffstat (limited to 'net/caif/caif_socket.c')
-rw-r--r-- | net/caif/caif_socket.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/caif/caif_socket.c b/net/caif/caif_socket.c index 05a41c7ec304..d6be3edb7a43 100644 --- a/net/caif/caif_socket.c +++ b/net/caif/caif_socket.c | |||
@@ -286,8 +286,6 @@ static int caif_seqpkt_recvmsg(struct kiocb *iocb, struct socket *sock, | |||
286 | if (m->msg_flags&MSG_OOB) | 286 | if (m->msg_flags&MSG_OOB) |
287 | goto read_error; | 287 | goto read_error; |
288 | 288 | ||
289 | m->msg_namelen = 0; | ||
290 | |||
291 | skb = skb_recv_datagram(sk, flags, 0 , &ret); | 289 | skb = skb_recv_datagram(sk, flags, 0 , &ret); |
292 | if (!skb) | 290 | if (!skb) |
293 | goto read_error; | 291 | goto read_error; |
@@ -361,8 +359,6 @@ static int caif_stream_recvmsg(struct kiocb *iocb, struct socket *sock, | |||
361 | if (flags&MSG_OOB) | 359 | if (flags&MSG_OOB) |
362 | goto out; | 360 | goto out; |
363 | 361 | ||
364 | msg->msg_namelen = 0; | ||
365 | |||
366 | /* | 362 | /* |
367 | * Lock the socket to prevent queue disordering | 363 | * Lock the socket to prevent queue disordering |
368 | * while sleeps in memcpy_tomsg | 364 | * while sleeps in memcpy_tomsg |