diff options
Diffstat (limited to 'net/llc/af_llc.c')
-rw-r--r-- | net/llc/af_llc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c index e4d2fbb59a7..df08d7779e1 100644 --- a/net/llc/af_llc.c +++ b/net/llc/af_llc.c @@ -721,8 +721,6 @@ static int llc_ui_recvmsg(struct kiocb *iocb, struct socket *sock, int target; /* Read at least this many bytes */ long timeo; - msg->msg_namelen = 0; - lock_sock(sk); copied = -ENOTCONN; if (unlikely(sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN)) |